[FFmpeg-devel] [PATCH][VAAPI] VC-1: fix decoding with some WMV3 clips

Gwenole Beauchesne gbeauchesne
Mon Dec 28 11:59:47 CET 2009


Hi,

This patch fixes decoding of some WMV3 clips with an odd number of 
macroblocks per line. The driver expects bitplanes data of two macroblocks 
in a single byte. The former approach could overflow and/or produce 
garbage.

Thanks to Michael Kornfeld for noticing the bug on ZDF streams and the 
original patch I simplified into no-extra-comparisons-required.

Checked with both psb and iegd drivers for GMA500.

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.vaapi.vc1.fix_bitplanes.patch
Type: text/x-diff
Size: 2381 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091228/5f2d8946/attachment.patch>



More information about the ffmpeg-devel mailing list