Mercurial > libavcodec.hg
comparison mdec.c @ 7630:d6390123201d libavcodec
Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
Now that it is exported, this should avoid confusion and name clashes.
author | diego |
---|---|
date | Wed, 20 Aug 2008 17:05:14 +0000 |
parents | 1d04f38681bd |
children | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
7629:1d04f38681bd | 7630:d6390123201d |
---|---|
222 static av_cold int decode_init(AVCodecContext *avctx){ | 222 static av_cold int decode_init(AVCodecContext *avctx){ |
223 MDECContext * const a = avctx->priv_data; | 223 MDECContext * const a = avctx->priv_data; |
224 AVFrame *p= &a->picture; | 224 AVFrame *p= &a->picture; |
225 | 225 |
226 mdec_common_init(avctx); | 226 mdec_common_init(avctx); |
227 ff_init_vlcs(); | 227 ff_mpeg12_init_vlcs(); |
228 ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct); | 228 ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct); |
229 | 229 |
230 p->qstride= a->mb_width; | 230 p->qstride= a->mb_width; |
231 p->qscale_table= av_mallocz( p->qstride * a->mb_height); | 231 p->qscale_table= av_mallocz( p->qstride * a->mb_height); |
232 avctx->pix_fmt= PIX_FMT_YUV420P; | 232 avctx->pix_fmt= PIX_FMT_YUV420P; |