OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26f1d1
)
Remove a useless variable in zmbv decoder.
author
Eli Friedman
<eli.friedman@gmail.com>
Thu, 8 Jul 2010 08:58:52 +0000
(08:58 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Thu, 8 Jul 2010 08:58:52 +0000
(08:58 +0000)
Patch by Eli.Friedman (gmail)
Originally committed as revision 24104 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/zmbv.c
patch
|
blob
|
history
diff --git
a/libavcodec/zmbv.c
b/libavcodec/zmbv.c
index
8af8c84
..
6ac9089
100644
(file)
--- 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--;