[FFmpeg-cvslog] c93: set palette_has_changed.
Anton Khirnov
git at videolan.org
Mon Dec 24 15:54:03 CET 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Nov 15 10:38:38 2012 +0100| [f6e395e1320c52cc0720a83787622b15f6762d4f] | committer: Anton Khirnov
c93: set palette_has_changed.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6e395e1320c52cc0720a83787622b15f6762d4f
---
libavcodec/c93.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/c93.c b/libavcodec/c93.c
index e8071ac..b820f5a 100644
--- a/libavcodec/c93.c
+++ b/libavcodec/c93.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list