# HG changeset patch # User reimar # Date 1278834484 0 # Node ID 31bca176d2d9cfbd8686125c7f70d367e2233bbf # Parent 0f987eea13493d1309b3911c4ba0fc5cea6eb765 Set pix_fmt to the correct value for the format the PGS decoder actually uses. diff -r 0f987eea1349 -r 31bca176d2d9 pgssubdec.c --- a/pgssubdec.c Sun Jul 11 07:45:42 2010 +0000 +++ b/pgssubdec.c Sun Jul 11 07:48:04 2010 +0000 @@ -64,7 +64,7 @@ static av_cold int init_decoder(AVCodecContext *avctx) { - avctx->pix_fmt = PIX_FMT_RGB32; + avctx->pix_fmt = PIX_FMT_PAL8; return 0; }