Mercurial > libavcodec.hg
changeset 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 | b5b4bf0944b8 |
files | mdec.c mpeg12.c mpeg12.h |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mdec.c Wed Aug 20 16:59:26 2008 +0000 +++ b/mdec.c Wed Aug 20 17:05:14 2008 +0000 @@ -224,7 +224,7 @@ AVFrame *p= &a->picture; mdec_common_init(avctx); - ff_init_vlcs(); + ff_mpeg12_init_vlcs(); ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct); p->qstride= a->mb_width;
--- a/mpeg12.c Wed Aug 20 16:59:26 2008 +0000 +++ b/mpeg12.c Wed Aug 20 17:05:14 2008 +0000 @@ -148,7 +148,7 @@ static VLC mb_btype_vlc; static VLC mb_pat_vlc; -av_cold void ff_init_vlcs(void) +av_cold void ff_mpeg12_init_vlcs(void) { static int done = 0; @@ -1194,7 +1194,7 @@ s->mpeg_enc_ctx.flags= avctx->flags; s->mpeg_enc_ctx.flags2= avctx->flags2; ff_mpeg12_common_init(&s->mpeg_enc_ctx); - ff_init_vlcs(); + ff_mpeg12_init_vlcs(); s->mpeg_enc_ctx_allocated = 0; s->mpeg_enc_ctx.picture_number = 0;
--- a/mpeg12.h Wed Aug 20 16:59:26 2008 +0000 +++ b/mpeg12.h Wed Aug 20 17:05:14 2008 +0000 @@ -33,7 +33,7 @@ extern uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3]; void ff_mpeg12_common_init(MpegEncContext *s); -void ff_init_vlcs(void); +void ff_mpeg12_init_vlcs(void); static inline int decode_dc(GetBitContext *gb, int component) {