mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Remove a useless variable in zmbv decoder.
Patch by Eli.Friedman (gmail) Originally committed as revision 24104 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a26f1d1092
commit
e0b855f621
@ -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…
Reference in New Issue
Block a user