From: Michael Niedermayer Date: Sat, 13 Aug 2005 21:34:24 +0000 (+0000) Subject: set pix_fmt X-Git-Tag: v0.5~13643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2eca4a44b151a9f8915a306c0cbe78b3eaa0e505;p=platform%2Fupstream%2Flibav.git set pix_fmt Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index d6e5d04..afe122c 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -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; }