[FFmpeg-devel] [libav-devel] [PATCH 3/4] dds: make sure pallete frame buffer exists before use

Andreas Cadhalpun andreas.cadhalpun at gmail.com
Sat Nov 14 22:12:42 CET 2015


On 14.11.2015 03:38, Vittorio Giovara wrote:
> On Fri, Nov 13, 2015 at 10:01 PM, Andreas Cadhalpun
> <andreas.cadhalpun at gmail.com> wrote:
>> On 13.11.2015 02:08, Vittorio Giovara wrote:
>>> oh I see, that can happen for a special crafted file, DDPF_FOURCC has
>>> been introduced recently while DDPF_PALETTE has been removed, so a
>>> normal file should not have both set.
>>
>> OK, that makes sense.
>>
>>> Because of that, and how rare palette dds are, I think it's quite safe
>>> to unset ctx->paletted if ctx->compressed is set, and be done with it.
>>
>> Patch doing that is attached.
> 
> lgtm, thanks

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list