summaryrefslogtreecommitdiff
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
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;
}