[FFmpeg-devel] [PATCH] matroskadec.c: Handle palettized QuickTime video properly

Mats Peterson matsp888 at yahoo.com
Sat Dec 12 22:06:15 CET 2015


On Sat, 12 Dec 2015, Michael Niedermayer wrote:

> On Sat, Dec 12, 2015 at 11:17:00AM +0000, Mats Peterson wrote:
>> Obviously that private data is cropped in some way then, since the minimum size of a video sample description in QuickTime video is 86 bytes.
>
> FFmpeg tries to support all kind of odd and broken files, so even if
> the file is invalid, continuing to support it would be better
>

Personally I don't see why it should support broken files, but your 
mileage may vary, of course. So just keep the value 21 then.

Mats


-- 
Mats Peterson
http://matsp888.no-ip.org/~mats/


More information about the ffmpeg-devel mailing list