diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-08-13 21:34:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-13 21:34:24 +0000 |
commit | 2eca4a44b151a9f8915a306c0cbe78b3eaa0e505 (patch) | |
tree | 386ab99e2d7117c1f56ba315329bea78b1b4be8e /libavcodec/mdec.c | |
parent | ca16618b01abfde44b4eaf92dc89b01aa1b4a91e (diff) | |
download | ffmpeg-2eca4a44b151a9f8915a306c0cbe78b3eaa0e505.tar.gz |
set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdec.c')
-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; } |