[SCM] libav/experimental: Set pix_fmt to the correct value for the format the PGS decoder actually uses.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:11:03 UTC 2013
The following commit has been merged in the experimental branch:
commit 849ff0c4d169d098a34306f9ea05bdc6f74a3b3f
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Sun Jul 11 07:48:04 2010 +0000
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
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index bf2de6a..bda7665 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;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list