Browse Source

Remove a useless variable in zmbv decoder.

Patch by Eli.Friedman (gmail)

Originally committed as revision 24104 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Eli Friedman Benoit Fouet 15 years ago
parent
commit
e0b855f621
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/zmbv.c

+ 0
- 3
libavcodec/zmbv.c View File

@@ -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--;


Loading…
Cancel
Save