[FFmpeg-devel] [PATCH] indeo3: fix motion vector validation

Hendrik Leppkes h.leppkes at gmail.com
Wed Jan 25 17:41:39 CET 2012


Hi,

i found a bug today in the indeo3 decoder.
The new motion vector validation merged from libav caused alot of the
motion vectors to be considered invalid, because it multiplied the
index by 2 before checking its validity.
This patch rectifiys the situation, and checks the index before
multiplying it to form the proper array index.

Sample that showed the bug here:
http://aleksoid.tosei.ru/Test/Sample/indeo30.avi

I hope the link stays alive long enough. :)

- Hendrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-indeo3-fix-motion-vector-validation.patch
Type: application/octet-stream
Size: 1499 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120125/a851069b/attachment.obj>


More information about the ffmpeg-devel mailing list