Commit 2eca4a44 authored by Michael Niedermayer's avatar Michael Niedermayer

set pix_fmt

Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ca16618b
......@@ -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;
}
......
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