summaryrefslogtreecommitdiff
path: root/libavcodec/c93.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-24 15:42:52 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-24 15:48:02 +0100
commit9dbedf331eca9903230368f28716f29e7375450a (patch)
treee74d461ecc2c8d5d58e8270e42e9391b89b3dd30 /libavcodec/c93.c
parentba8e909c825164a74a4fc580286200a9165e019c (diff)
parentc6303f8d70c25dd6c6e6486c78bf99c9924e2b6b (diff)
downloadffmpeg-9dbedf331eca9903230368f28716f29e7375450a.tar.gz
Merge commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b'
* commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b': yop: simplify/sanitize the decoding loop c93: set palette_has_changed. bmp: cosmetics, reformat hlsenc: Don't duplicate a string constant Conflicts: libavcodec/bmp.c tests/ref/fate/yop Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/c93.c')
-rw-r--r--libavcodec/c93.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/c93.c b/libavcodec/c93.c
index 4ccd767819..9f3bf8b6cc 100644
--- a/libavcodec/c93.c
+++ b/libavcodec/c93.c
@@ -237,6 +237,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
for (i = 0; i < 256; i++) {
palette[i] = 0xFFU << 24 | bytestream2_get_be24(&gb);
}
+ newpic->palette_has_changed = 1;
} else {
if (oldpic->data[1])
memcpy(newpic->data[1], oldpic->data[1], 256 * 4);