summaryrefslogtreecommitdiff
path: root/libavcodec/zmbv.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-07-08 08:58:52 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-07-08 08:58:52 +0000
commite0b855f6217c858b18e21a578168c35f11779a24 (patch)
tree25866f6c1392d7f472f17357d347d9c979f0ec15 /libavcodec/zmbv.c
parenta26f1d109264efe3a6b47395495319359a8fe878 (diff)
Remove a useless variable in zmbv decoder.
Patch by Eli.Friedman (gmail) Originally committed as revision 24104 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r--libavcodec/zmbv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index 8af8c840a0..6ac908919d 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -397,7 +397,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
ZmbvContext * const c = avctx->priv_data;
- uint8_t *outptr;
int zret = Z_OK; // Zlib return code
int len = buf_size;
int hi_ver, lo_ver;
@@ -412,8 +411,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
return -1;
}
- outptr = c->pic.data[0]; // Output image pointer
-
/* parse header */
c->flags = buf[0];
buf++; len--;