[Ffmpeg-devel] [PATCH] case FF_OPT_TYPE_RATIONAL need break
Limin Wang
lance.lmwang
Mon Mar 26 10:53:57 CEST 2007
Hi,
$subj, please review it.
Thanks,
Limin
-------------- next part --------------
Index: libavcodec/opt.c
===================================================================
--- libavcodec/opt.c (revision 8492)
+++ libavcodec/opt.c (working copy)
@@ -70,6 +70,7 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070326/d72bfc20/attachment.pgp>
More information about the ffmpeg-devel
mailing list