Commit 4d173e50 authored by diego's avatar diego

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14867 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 72c145ee
...@@ -224,7 +224,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ ...@@ -224,7 +224,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
AVFrame *p= &a->picture; AVFrame *p= &a->picture;
mdec_common_init(avctx); mdec_common_init(avctx);
ff_init_vlcs(); ff_mpeg12_init_vlcs();
ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct); ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct);
p->qstride= a->mb_width; p->qstride= a->mb_width;
......
...@@ -148,7 +148,7 @@ static VLC mb_ptype_vlc; ...@@ -148,7 +148,7 @@ static VLC mb_ptype_vlc;
static VLC mb_btype_vlc; static VLC mb_btype_vlc;
static VLC mb_pat_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; static int done = 0;
...@@ -1194,7 +1194,7 @@ static av_cold int mpeg_decode_init(AVCodecContext *avctx) ...@@ -1194,7 +1194,7 @@ static av_cold int mpeg_decode_init(AVCodecContext *avctx)
s->mpeg_enc_ctx.flags= avctx->flags; s->mpeg_enc_ctx.flags= avctx->flags;
s->mpeg_enc_ctx.flags2= avctx->flags2; s->mpeg_enc_ctx.flags2= avctx->flags2;
ff_mpeg12_common_init(&s->mpeg_enc_ctx); 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_allocated = 0;
s->mpeg_enc_ctx.picture_number = 0; s->mpeg_enc_ctx.picture_number = 0;
......
...@@ -33,7 +33,7 @@ static VLC dc_chroma_vlc; ...@@ -33,7 +33,7 @@ static VLC dc_chroma_vlc;
extern uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3]; 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_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) static inline int decode_dc(GetBitContext *gb, int component)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment