diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-08-14 01:34:24 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-14 01:34:24 +0400 |
commit | 2eca4a44b151a9f8915a306c0cbe78b3eaa0e505 (patch) | |
tree | 386ab99e2d7117c1f56ba315329bea78b1b4be8e | |
parent | ca16618b01abfde44b4eaf92dc89b01aa1b4a91e (diff) |
set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index d6e5d044a0..afe122cfe8 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; } |