summaryrefslogtreecommitdiff
path: root/libavcodec/vmdav.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/vmdav.c
parentfd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff)
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r--libavcodec/vmdav.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c
index 8d8bc61e42..934a52b939 100644
--- a/libavcodec/vmdav.c
+++ b/libavcodec/vmdav.c
@@ -199,7 +199,6 @@ static void vmd_decode(VmdVideoContext *s)
int frame_x, frame_y;
int frame_width, frame_height;
- int dp_size;
frame_x = AV_RL16(&s->buf[6]);
frame_y = AV_RL16(&s->buf[8]);
@@ -247,7 +246,6 @@ static void vmd_decode(VmdVideoContext *s)
}
dp = &s->frame.data[0][frame_y * s->frame.linesize[0] + frame_x];
- dp_size = s->frame.linesize[0] * s->avctx->height;
pp = &s->prev_frame.data[0][frame_y * s->prev_frame.linesize[0] + frame_x];
switch (meth) {
case 1: