mirror of https://git.ffmpeg.org/ffmpeg.git
better set pix_fmt explicitly
Originally committed as revision 1372 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a6a494fb2d
commit
5fe061a027
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue