Commit 5fe061a0 authored by Michael Niedermayer's avatar Michael Niedermayer

better set pix_fmt explicitly

Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a6a494fb
...@@ -56,6 +56,7 @@ int ff_h263_decode_init(AVCodecContext *avctx) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment