diff pgssubdec.c @ 12136:31bca176d2d9 libavcodec

Set pix_fmt to the correct value for the format the PGS decoder actually uses.
author reimar
date Sun, 11 Jul 2010 07:48:04 +0000
parents d5705b52b76e
children d46c4c3204b8
line wrap: on
line diff
--- a/pgssubdec.c	Sun Jul 11 07:45:42 2010 +0000
+++ b/pgssubdec.c	Sun Jul 11 07:48:04 2010 +0000
@@ -64,7 +64,7 @@
 
 static av_cold int init_decoder(AVCodecContext *avctx)
 {
-    avctx->pix_fmt     = PIX_FMT_RGB32;
+    avctx->pix_fmt = PIX_FMT_PAL8;
 
     return 0;
 }