[FFmpeg-cvslog] r11213 - trunk/libavcodec/opt.c
reimar
subversion
Thu Dec 13 20:00:54 CET 2007
Author: reimar
Date: Thu Dec 13 20:00:53 2007
New Revision: 11213
Log:
Add a missing break, before av_set_number would always return NULL for
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption
Modified:
trunk/libavcodec/opt.c
Modified: trunk/libavcodec/opt.c
==============================================================================
--- trunk/libavcodec/opt.c (original)
+++ trunk/libavcodec/opt.c Thu Dec 13 20:00:53 2007
@@ -69,6 +69,7 @@ static const AVOption *av_set_number(voi
case FF_OPT_TYPE_RATIONAL:
if((int)num == num) *(AVRational*)dst= (AVRational){num*intnum, den};
else *(AVRational*)dst= av_d2q(num*intnum/den, 1<<24);
+ break;
default:
return NULL;
}
More information about the ffmpeg-cvslog
mailing list