Mercurial > libavcodec.hg
comparison msmpeg4.c @ 6350:8e63d869a904 libavcodec
typo fix: inited --> initialized
author | diego |
---|---|
date | Wed, 13 Feb 2008 09:26:10 +0000 |
parents | 809fd829a864 |
children | 493dc59d469a |
comparison
equal
deleted
inserted
replaced
6349:aed237dd11d8 | 6350:8e63d869a904 |
---|---|
85 | 85 |
86 static uint8_t static_rl_table_store[NB_RL_TABLES][2][2*MAX_RUN + MAX_LEVEL + 3]; | 86 static uint8_t static_rl_table_store[NB_RL_TABLES][2][2*MAX_RUN + MAX_LEVEL + 3]; |
87 | 87 |
88 static void common_init(MpegEncContext * s) | 88 static void common_init(MpegEncContext * s) |
89 { | 89 { |
90 static int inited=0; | 90 static int initialized=0; |
91 | 91 |
92 switch(s->msmpeg4_version){ | 92 switch(s->msmpeg4_version){ |
93 case 1: | 93 case 1: |
94 case 2: | 94 case 2: |
95 s->y_dc_scale_table= | 95 s->y_dc_scale_table= |
125 ff_init_scantable(s->dsp.idct_permutation, &s->intra_v_scantable, wmv1_scantable[3]); | 125 ff_init_scantable(s->dsp.idct_permutation, &s->intra_v_scantable, wmv1_scantable[3]); |
126 ff_init_scantable(s->dsp.idct_permutation, &s->inter_scantable , wmv1_scantable[0]); | 126 ff_init_scantable(s->dsp.idct_permutation, &s->inter_scantable , wmv1_scantable[0]); |
127 } | 127 } |
128 //Note the default tables are set in common_init in mpegvideo.c | 128 //Note the default tables are set in common_init in mpegvideo.c |
129 | 129 |
130 if(!inited){ | 130 if(!initialized){ |
131 inited=1; | 131 initialized=1; |
132 | 132 |
133 init_h263_dc_for_msmpeg4(); | 133 init_h263_dc_for_msmpeg4(); |
134 } | 134 } |
135 } | 135 } |
136 | 136 |