1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Reimar Döffinger 2010-07-11 07:48:04 +00:00
parent 3174073623
commit 849ff0c4d1

View File

@ -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;
}