changeset 12112:3c5a6cc5a652 libavcodec

Remove a useless variable in zmbv decoder. Patch by Eli.Friedman (gmail)
author benoit
date Thu, 08 Jul 2010 08:58:52 +0000
parents 6e15ce7ca0ca
children 495b13d86191
files zmbv.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/zmbv.c	Wed Jul 07 23:52:24 2010 +0000
+++ b/zmbv.c	Thu Jul 08 08:58:52 2010 +0000
@@ -397,7 +397,6 @@
     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 @@
         return -1;
     }
 
-    outptr = c->pic.data[0]; // Output image pointer
-
     /* parse header */
     c->flags = buf[0];
     buf++; len--;