Browse Source

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
tags/n0.8
Reimar Döffinger 15 years ago
parent
commit
849ff0c4d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pgssubdec.c

+ 1
- 1
libavcodec/pgssubdec.c 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;
}


Loading…
Cancel
Save