better set pix_fmt explicitly

Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-12-29 22:20:03 +00:00
parent a6a494fb2d
commit 5fe061a027
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ int ff_h263_decode_init(AVCodecContext *avctx)
s->progressive_sequence=1; s->progressive_sequence=1;
s->decode_mb= ff_h263_decode_mb; s->decode_mb= ff_h263_decode_mb;
s->low_delay= 1; s->low_delay= 1;
avctx->pix_fmt= PIX_FMT_YUV420P;
/* select sub codec */ /* select sub codec */
switch(avctx->codec->id) { switch(avctx->codec->id) {