[FFmpeg-cvslog] r14145 - trunk/ffserver.c
stefano
subversion
Wed Jul 9 23:51:40 CEST 2008
Author: stefano
Date: Wed Jul 9 23:51:40 2008
New Revision: 14145
Log:
Fix a warning in ffserver.c caused by the use of the function
av_opt_string() deprecated since r14134.
Modified:
trunk/ffserver.c
Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c (original)
+++ trunk/ffserver.c Wed Jul 9 23:51:40 2008
@@ -3732,7 +3732,7 @@ static int opt_default(const char *opt,
const AVOption *o = NULL;
const AVOption *o2 = av_find_opt(avctx, opt, NULL, type, type);
if(o2)
- o = av_set_string(avctx, opt, arg);
+ o = av_set_string2(avctx, opt, arg, 1);
if(!o)
return -1;
return 0;
More information about the ffmpeg-cvslog
mailing list