mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
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->decode_mb= ff_h263_decode_mb;
|
||||
s->low_delay= 1;
|
||||
avctx->pix_fmt= PIX_FMT_YUV420P;
|
||||
|
||||
/* select sub codec */
|
||||
switch(avctx->codec->id) {
|
||||
|
Loading…
Reference in New Issue
Block a user