[FFmpeg-devel] [PATCH] better check for truemotion1 vectable IDs (issue2508)

Daniel Kang daniel.d.kang
Sat Jan 8 19:32:17 CET 2011

ffmpeg checks if the vectable ID is < 4, but not > 0. ffmpeg selects the
vector table by using "header.vectable - 1" as the index, so for
header.vectable=0, ffmpeg will crash. The patch attached adds a check
for negative IDs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: duk_vectable_id_check.diff
Type: application/octet-stream
Size: 929 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110108/74996f53/attachment.obj>

More information about the ffmpeg-devel mailing list