[FFmpeg-devel] [PATCH] potential fix for memory underread issue in h264 predict

Daniel Kang daniel.d.kang
Wed Jan 19 03:32:34 CET 2011


A VLC user (GomGom on freenode) has brought up a bug. h264's
pred8x8l_horizontal may underread a buffer in certain cases (i.e. if the
top row does not exist). The check for this has been moved up so the
buffer is not underread. The patch passes
fate-(h264|svq3|vp8|real-rv40), the tests relevant to this patch.

I believe this occurs when the flag emu_edge is set.

I cannot replicate the issue, so I am not sure if it is a correct fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pred_8x8l_hor.diff
Type: application/octet-stream
Size: 1380 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110118/bf47dee4/attachment.obj>



More information about the ffmpeg-devel mailing list