1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

c93: set palette_has_changed.

This commit is contained in:
Anton Khirnov 2012-11-15 10:38:38 +01:00
parent 3eab600752
commit f6e395e132

View File

@ -233,6 +233,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
for (i = 0; i < 256; i++) {
palette[i] = bytestream2_get_be24(&gb);
}
newpic->palette_has_changed = 1;
} else {
if (oldpic->data[1])
memcpy(newpic->data[1], oldpic->data[1], 256 * 4);