Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -239,6 +239,7 @@ static int decode_init(AVCodecContext *avctx){ · 238 unmodified lines | ||
| 239 | 239 | */ |
| 240 | 240 | p->qstride= a->mb_width; |
| 241 | 241 | p->qscale_table= av_mallocz( p->qstride * a->mb_height); |
| 242 | + avctx->pix_fmt= PIX_FMT_YUV420P; | |
| 242 | 243 | |
| 243 | 244 | return 0; |
| 244 | 245 | } |