OSDN Git Service

Signal MSS1 palette change.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 26 Jun 2012 07:30:27 +0000 (09:30 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 26 Jun 2012 07:30:27 +0000 (09:30 +0200)
Reviewed-by: Paul B Mahol
libavcodec/mss1.c

index dfddbd9..6163ecf 100644 (file)
@@ -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)