diff mpeg4videoenc.c @ 10816:9abebeca7d1b libavcodec

Rename DCtab_*, its a global variable and it helps understanding if mpeg4 is in its name.
author michael
date Fri, 08 Jan 2010 17:28:43 +0000
parents 55c01e916c08
children d1fe22d92a65
line wrap: on
line diff
--- a/mpeg4videoenc.c	Fri Jan 08 16:37:32 2010 +0000
+++ b/mpeg4videoenc.c	Fri Jan 08 17:28:43 2010 +0000
@@ -263,10 +263,10 @@
 
     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 @@
             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 @@
         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;