[FFmpeg-cvslog] Signal MSS1 palette change.

Carl Eugen Hoyos git at videolan.org
Tue Jun 26 09:31:27 CEST 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Jun 26 09:30:27 2012 +0200| [c77bcbbb3223101ab6984d00d23389012c0c4514] | committer: Carl Eugen Hoyos

Signal MSS1 palette change.

Reviewed-by: Paul B Mahol

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c77bcbbb3223101ab6984d00d23389012c0c4514
---

 libavcodec/mss1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c
index dfddbd9..6163ecf 100644
--- a/libavcodec/mss1.c
+++ b/libavcodec/mss1.c
@@ -557,7 +557,7 @@ static int decode_pal(MSS1Context *ctx, ArithCoder *acoder)
         *pal++ = (0xFF << 24) | (r << 16) | (g << 8) | b;
     }
 
-    return 0;
+    return 1;
 }
 
 static int decode_pivot(MSS1Context *ctx, ArithCoder *acoder, int base)



More information about the ffmpeg-cvslog mailing list