better set pix_fmt explicitly
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2002 22:20:03 +0000 (22:20 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2002 22:20:03 +0000 (22:20 +0000)
Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c

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