[FFmpeg-devel] Patch: add sanity checks for bitrate
Christian P. Schmidt
schmidt
Fri Aug 6 16:50:21 CEST 2010
I've encountered a .ogm that triggered assertions in libavformat's
estimate_timings_from_bitrate. The root cause was a negative value (-1)
in the vorbis headers of the audio tracks.
Attached patch adds sanity checks to the ogg vorbis parser as well as
the estimate_timings_from_bitrate function.
Regards,
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sanitycheck_bitrates.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100806/bee9ada4/attachment.txt>
More information about the ffmpeg-devel
mailing list