diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-07-11 11:48:04 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-07-11 11:48:04 +0400 |
commit | 849ff0c4d169d098a34306f9ea05bdc6f74a3b3f (patch) | |
tree | aac1223e3aef4551c04a585bed2f89fd0fa7a0b1 /libavcodec | |
parent | 3174073623393822692cb0a86220d0e5dbb36014 (diff) |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/pgssubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |