Browse Source

set pix_fmt

Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
2eca4a44b1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mdec.c

+ 1
- 0
libavcodec/mdec.c View File

@@ -239,6 +239,7 @@ static int decode_init(AVCodecContext *avctx){
*/
p->qstride= a->mb_width;
p->qscale_table= av_mallocz( p->qstride * a->mb_height);
avctx->pix_fmt= PIX_FMT_YUV420P;

return 0;
}


Loading…
Cancel
Save