[vlc-devel] [vlc-commits] avcodec: fix direct rendering with some codecs

Laurent Aimar fenrir at elivagar.org
Mon Dec 12 10:48:54 CET 2011

On Sun, Dec 11, 2011 at 07:21:01PM -0500, Rafaël Carré wrote:
> invalid access is at V plane + 1472
> BTW, pic is interlaced.
> And FFmpeg doesn't have the bug.
> avcodec_align_dimensions2() was changed when ProRes decoder was
> committed in FFmpeg.
> height is aligned on 32 pixels (= 2 blocks) for a bunch of codecs (to
> account for interlacing), and ProRes is missing from the list in libav.
 Ok, that's explain it.

> The side effect is that it disables direct rendering because the VLC
> picture is too small, unless we align on 32 pixels too.
 I will take care of that.


More information about the vlc-devel mailing list