[FFmpeg-cvslog] r22232 - trunk/cmdutils.c
stefano
subversion
Sat Mar 6 15:09:35 CET 2010
Author: stefano
Date: Sat Mar 6 15:09:35 2010
New Revision: 22232
Log:
Make opt_default() look for options in sws_opts only if sws_opts is
defined, fix crash.
Modified:
trunk/cmdutils.c
Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c Sat Mar 6 14:06:45 2010 (r22231)
+++ trunk/cmdutils.c Sat Mar 6 15:09:35 2010 (r22232)
@@ -200,7 +200,7 @@ int opt_default(const char *opt, const c
}
if(!o)
ret = av_set_string3(avformat_opts, opt, arg, 1, &o);
- if(!o)
+ if(!o && sws_opts)
ret = av_set_string3(sws_opts, opt, arg, 1, &o);
if(!o){
if(opt[0] == 'a')
More information about the ffmpeg-cvslog
mailing list