aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-13 15:43:51 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-13 15:43:51 +0000
commitd634aa2095b878f01877c4702a655bb0ecc2645a (patch)
tree972677c418fdd012d31a509daeafdff59bc0636f /libavcodec
parenta443a2530d00b7019269202ac0f5ca8ba0a021c7 (diff)
downloadffmpeg-d634aa2095b878f01877c4702a655bb0ecc2645a.tar.gz
remove unused variable
Originally committed as revision 5371 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 1973b917a7..bdd965313b 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -94,7 +94,6 @@ const enum PixelFormat pixfmt_xvmc_mpg2_420[] = {
static uint8_t (*mv_penalty)[MAX_MV*2+1]= NULL;
static uint8_t fcode_tab[MAX_MV*2+1];
-static uint32_t uni_mpeg1_ac_vlc_bits[64*64*2];
static uint8_t uni_mpeg1_ac_vlc_len [64*64*2];
/* simple include everything table for dc, first byte is bits number next 3 are code*/
@@ -148,7 +147,7 @@ static void init_2d_vlc_rl(RLTable *rl, int use_static)
}
#ifdef CONFIG_ENCODERS
-static void init_uni_ac_vlc(RLTable *rl, uint32_t *uni_ac_vlc_bits, uint8_t *uni_ac_vlc_len){
+static void init_uni_ac_vlc(RLTable *rl, uint8_t *uni_ac_vlc_len){
int i;
for(i=0; i<128; i++){
@@ -188,7 +187,6 @@ static void init_uni_ac_vlc(RLTable *rl, uint32_t *uni_ac_vlc_bits, uint8_t *uni
}
}
- uni_ac_vlc_bits[UNI_AC_ENC_INDEX(run, i)]= bits;
uni_ac_vlc_len [UNI_AC_ENC_INDEX(run, i)]= len;
}
}
@@ -775,7 +773,7 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
mpeg1_index_run[0][i]= rl_mpeg1.index_run[0][i];
}
- init_uni_ac_vlc(&rl_mpeg1, uni_mpeg1_ac_vlc_bits, uni_mpeg1_ac_vlc_len);
+ init_uni_ac_vlc(&rl_mpeg1, uni_mpeg1_ac_vlc_len);
/* build unified dc encoding tables */
for(i=-255; i<256; i++)