aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/a64multienc.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-29 21:07:34 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-30 00:24:01 +0200
commitadba9c63525b8971fc6ccda47e643dca05c3ee9d (patch)
tree7f4521c4ceaf684a4cdc4f8b57db30a4364c35e0 /libavcodec/a64multienc.c
parentfd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff)
downloadffmpeg-adba9c63525b8971fc6ccda47e643dca05c3ee9d.tar.gz
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/a64multienc.c')
-rw-r--r--libavcodec/a64multienc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/a64multienc.c b/libavcodec/a64multienc.c
index e9b3471925..5a665d0592 100644
--- a/libavcodec/a64multienc.c
+++ b/libavcodec/a64multienc.c
@@ -252,7 +252,6 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf,
int b_width;
int req_size;
- int num_frames = c->mc_lifetime;
int *charmap = c->mc_charmap;
uint8_t *colram = c->mc_colram;
@@ -280,7 +279,6 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf,
if (!c->mc_lifetime) return 0;
/* no more frames in queue, prepare to flush remaining frames */
if (!c->mc_frame_counter) {
- num_frames = c->mc_lifetime;
c->mc_lifetime = 0;
}
/* still frames in queue so limit lifetime to remaining frames */