changeset 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 0f987eea1349
children b8a0924d6e42
files pgssubdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 }