summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-11-15 20:42:22 +0100
committerAnton Khirnov <anton@khirnov.net>2012-12-24 09:17:40 +0100
commit261f0b14ed81e34a07d20cabf24f367db8fbfc54 (patch)
tree278d0c6c96a99577c0a537ff7be6fb1f82789520 /libavcodec
parent8adfacff5c4533660b161dc25db144487a07ff39 (diff)
downloadffmpeg-261f0b14ed81e34a07d20cabf24f367db8fbfc54.tar.gz
zerocodec: remove an unused variable.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/zerocodec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/zerocodec.c b/libavcodec/zerocodec.c
index cba3198473..8122cca3b2 100644
--- a/libavcodec/zerocodec.c
+++ b/libavcodec/zerocodec.c
@@ -25,7 +25,6 @@
typedef struct {
AVFrame previous_frame;
z_stream zstream;
- int size;
} ZeroCodecContext;
static int zerocodec_decode_frame(AVCodecContext *avctx, void *data,
@@ -136,9 +135,6 @@ static av_cold int zerocodec_decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_UYVY422;
avctx->bits_per_raw_sample = 8;
- zc->size = avpicture_get_size(avctx->pix_fmt,
- avctx->width, avctx->height);
-
zstream->zalloc = Z_NULL;
zstream->zfree = Z_NULL;
zstream->opaque = Z_NULL;