dds: disable palette flag for compressed dds
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 13 Nov 2015 20:48:27 +0000 (21:48 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 14 Nov 2015 20:52:11 +0000 (21:52 +0100)
commit603ebab8d7b789cd3cb6c7ca645a7badb5b950b4
tree4f2674872e179dae0a5d9bf3abb0055875082672
parentebf5264cd6bbda6c0c379dfeaaba3b9afc3279a8
dds: disable palette flag for compressed dds

Having both is not valid and can cause a NULL pointer dereference of
frame->data[1] later.

Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/dds.c