diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-08 17:28:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-08 17:28:43 +0000 |
commit | 05b858b045fb0dc347c695e914b11fbc871150e5 (patch) | |
tree | 95f4c732119a863f1c6511b19bf2aa096644de73 /libavcodec/mpeg4videoenc.c | |
parent | f9664ca026485f59e14a072fcb6e45930ec928ff (diff) | |
download | ffmpeg-05b858b045fb0dc347c695e914b11fbc871150e5.tar.gz |
Rename DCtab_*, its a global variable and it helps understanding if mpeg4
is in its name.
Originally committed as revision 21096 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg4videoenc.c')
-rw-r--r-- | libavcodec/mpeg4videoenc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index 36dd3c90a2..f2a3e4bdcf 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @@ -263,10 +263,10 @@ static inline void mpeg4_encode_dc(PutBitContext * s, int level, int n) if (n < 4) { /* luminance */ - put_bits(&s->pb, DCtab_lum[size][1], DCtab_lum[size][0]); + put_bits(&s->pb, ff_mpeg4_DCtab_lum[size][1], ff_mpeg4_DCtab_lum[size][0]); } else { /* chrominance */ - put_bits(&s->pb, DCtab_chrom[size][1], DCtab_chrom[size][0]); + put_bits(&s->pb, ff_mpeg4_DCtab_chrom[size][1], ff_mpeg4_DCtab_chrom[size][0]); } /* encode remaining bits */ @@ -1125,8 +1125,8 @@ static void init_uni_dc_tab(void) l= level; /* luminance */ - uni_code= DCtab_lum[size][0]; - uni_len = DCtab_lum[size][1]; + uni_code= ff_mpeg4_DCtab_lum[size][0]; + uni_len = ff_mpeg4_DCtab_lum[size][1]; if (size > 0) { uni_code<<=size; uni_code|=l; @@ -1140,8 +1140,8 @@ static void init_uni_dc_tab(void) uni_DCtab_lum_len [level+256]= uni_len; /* chrominance */ - uni_code= DCtab_chrom[size][0]; - uni_len = DCtab_chrom[size][1]; + uni_code= ff_mpeg4_DCtab_chrom[size][0]; + uni_len = ff_mpeg4_DCtab_chrom[size][1]; if (size > 0) { uni_code<<=size; uni_code|=l; |