summaryrefslogtreecommitdiff
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-08-13 21:34:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-08-13 21:34:24 +0000
commit2eca4a44b151a9f8915a306c0cbe78b3eaa0e505 (patch)
tree386ab99e2d7117c1f56ba315329bea78b1b4be8e /libavcodec/mdec.c
parentca16618b01abfde44b4eaf92dc89b01aa1b4a91e (diff)
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.c1
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;
}