Mercurial > libavcodec.hg
comparison mdec.c @ 2832:89b92f0800ab libavcodec
set pix_fmt
author | michael |
---|---|
date | Sat, 13 Aug 2005 21:34:24 +0000 |
parents | 0d88e3f89379 |
children | ef2149182f1c |
comparison
equal
deleted
inserted
replaced
2831:ad9d121cc6e9 | 2832:89b92f0800ab |
---|---|
237 a->intra_matrix[i]= 64*ff_mpeg1_default_intra_matrix[index] / a->inv_qscale; | 237 a->intra_matrix[i]= 64*ff_mpeg1_default_intra_matrix[index] / a->inv_qscale; |
238 } | 238 } |
239 */ | 239 */ |
240 p->qstride= a->mb_width; | 240 p->qstride= a->mb_width; |
241 p->qscale_table= av_mallocz( p->qstride * a->mb_height); | 241 p->qscale_table= av_mallocz( p->qstride * a->mb_height); |
242 avctx->pix_fmt= PIX_FMT_YUV420P; | |
242 | 243 |
243 return 0; | 244 return 0; |
244 } | 245 } |
245 | 246 |
246 static int decode_end(AVCodecContext *avctx){ | 247 static int decode_end(AVCodecContext *avctx){ |