c93: set palette_has_changed.

This commit is contained in:
Anton Khirnov 2012-11-15 10:38:38 +01:00
parent 3eab600752
commit f6e395e132
1 changed files with 1 additions and 0 deletions

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);