[FFmpeg-cvslog] r24187 - trunk/libavcodec/pgssubdec.c

reimar subversion
Sun Jul 11 09:48:04 CEST 2010


Author: reimar
Date: Sun Jul 11 09:48:04 2010
New Revision: 24187

Log:
Set pix_fmt to the correct value for the format the PGS decoder actually uses.

Modified:
   trunk/libavcodec/pgssubdec.c

Modified: trunk/libavcodec/pgssubdec.c
==============================================================================
--- trunk/libavcodec/pgssubdec.c	Sun Jul 11 09:45:42 2010	(r24186)
+++ trunk/libavcodec/pgssubdec.c	Sun Jul 11 09:48:04 2010	(r24187)
@@ -64,7 +64,7 @@ typedef struct PGSSubContext {
 
 static av_cold int init_decoder(AVCodecContext *avctx)
 {
-    avctx->pix_fmt     = PIX_FMT_RGB32;
+    avctx->pix_fmt = PIX_FMT_PAL8;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list