On Fri, Nov 13, 2015 at 10:01 PM, Andreas Cadhalpun <andreas.cadhal...@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 -- Vittorio _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel