[FFmpeg-devel] [libav-devel] [PATCH 3/4] dds: make sure pallete frame buffer exists before use
vittorio.giovara at gmail.com
Sat Nov 14 03:38:54 CET 2015
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.
More information about the ffmpeg-devel