[FFmpeg-cvslog] r24104 - trunk/libavcodec/zmbv.c

benoit subversion
Thu Jul 8 10:58:52 CEST 2010


Author: benoit
Date: Thu Jul  8 10:58:52 2010
New Revision: 24104

Log:
Remove a useless variable in zmbv decoder.
Patch by Eli.Friedman (gmail)

Modified:
   trunk/libavcodec/zmbv.c

Modified: trunk/libavcodec/zmbv.c
==============================================================================
--- trunk/libavcodec/zmbv.c	Thu Jul  8 01:52:24 2010	(r24103)
+++ trunk/libavcodec/zmbv.c	Thu Jul  8 10:58:52 2010	(r24104)
@@ -397,7 +397,6 @@ static int decode_frame(AVCodecContext *
     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 *
         return -1;
     }
 
-    outptr = c->pic.data[0]; // Output image pointer
-
     /* parse header */
     c->flags = buf[0];
     buf++; len--;



More information about the ffmpeg-cvslog mailing list