[vlc-devel] [PATCH] Revert "avi: Tidy the palette handling bit."

Rafaël Carré funman at videolan.org
Fri Oct 18 22:55:46 CEST 2013


Le 17/10/2013 21:40, Frode Tennebø a écrit :
> On 15 October 2013 23:48, Jean-Baptiste Kempf <jb at videolan.org> wrote:
>> On 15 Oct, Frode Tennebø wrote :
>>> Which I don't understand as the videos plays nicely with 2.0.8 on
>>> Ubuntu Linux.  However, I believe the palette issue is still not fixed
>>> for Windows, but I have not been able to compile for Windows and I'm
>>> not sure how to proceed on that platform, but I think that is a
>>> separate issue.
>> This has nothing to do with Windows. The same is on Linux.
>> It is about 2.1.0, and libavcodec HEAD.
> Sorry, there was no information in the thread or ticket to deduce that
> this had to to with libavcodec.

Yes sorry this was not documented.

The good news is that is is now fixed and recent libavcodec will work
with palettized videos.

> So, to sum it up, everything has been working fine until libavcodec at
> some point was updated with something which broke playback for WMV?
> And based on Rafaẽl's discovery, it is fair to assume that libavcodec
> now uses something inside extradata despite the video is not
> palettesied?

Yes those WMV files need extradata which is stored at the same place
than the palette.

> Based on that assumption I have included a patch which I have tested
> and plays all video samples in tickets #4017, #5952 and #9546 on
> Linux.

Patch applied, thank you!

>  -Frode

More information about the vlc-devel mailing list