aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12enc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-01 17:26:27 +0100
committerMans Rullgard <mans@mansr.com>2011-06-02 20:06:00 +0100
commite65ab9d94f1c8d8893e32d90467d9525625d306a (patch)
tree032ea02dc36a1510af2807848d961f024e8a052e /libavcodec/mpeg12enc.c
parent808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff)
downloadffmpeg-e65ab9d94f1c8d8893e32d90467d9525625d306a.tar.gz
Remove unused variables
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r--libavcodec/mpeg12enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index 8aa31f7581..eb07ecfc5e 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -761,10 +761,9 @@ void ff_mpeg1_encode_init(MpegEncContext *s)
if(mv==0) len= ff_mpeg12_mbMotionVectorTable[0][1];
else{
- int val, bit_size, range, code;
+ int val, bit_size, code;
bit_size = f_code - 1;
- range = 1 << bit_size;
val=mv;
if (val < 0)