Module: libav
Branch: master
Commit: f6e395e1320c52cc0720a83787622b15f6762d4f

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Thu Nov 15 10:38:38 2012 +0100

c93: set palette_has_changed.

---

 libavcodec/c93.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to