From 849ff0c4d169d098a34306f9ea05bdc6f74a3b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 11 Jul 2010 07:48:04 +0000 Subject: [PATCH] Set pix_fmt to the correct value for the format the PGS decoder actually uses. Originally committed as revision 24187 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pgssubdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index bf2de6ace2..bda7665f54 100644 --- a/libavcodec/pgssubdec.c +++ b/libavcodec/pgssubdec.c @@ -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; }