mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
c93: set palette_has_changed.
This commit is contained in:
parent
3eab600752
commit
f6e395e132
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user