[FFmpeg-cvslog] r25265 - trunk/libavutil/opt.c
stefano
subversion
Wed Sep 29 23:42:03 CEST 2010
Author: stefano
Date: Wed Sep 29 23:42:03 2010
New Revision: 25265
Log:
Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().
Modified:
trunk/libavutil/opt.c
Modified: trunk/libavutil/opt.c
==============================================================================
--- trunk/libavutil/opt.c Wed Sep 29 23:35:52 2010 (r25264)
+++ trunk/libavutil/opt.c Wed Sep 29 23:42:03 2010 (r25265)
@@ -426,6 +426,7 @@ void av_opt_set_defaults2(void *s, int m
av_log(s, AV_LOG_DEBUG, "loss of precision in default of %s\n", opt->name);
av_set_int(s, opt->name, opt->default_val);
break;
+ case FF_OPT_TYPE_DOUBLE:
case FF_OPT_TYPE_FLOAT: {
double val;
val = opt->default_val;
More information about the ffmpeg-cvslog
mailing list