From 8dbee6538d44570aa7c2415250b9abe00612624d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 8 Jul 2008 23:50:03 +0000 Subject: Fix the av_set_string() free / alloc issue. Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 4c13bb5..46455c1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2203,19 +2203,19 @@ static int opt_default(const char *opt, const char *arg){ for(type=0; typeflags & flags) == flags)) - av_set_string(ctx, opt_names[i], str); + av_set_string2(ctx, opt_names[i], str, 1); } } -- cgit v1.1