better set pix_fmt explicitly
[ffmpeg.git] / 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) {