Commit 261f0b14 authored by Anton Khirnov's avatar Anton Khirnov
Browse files

zerocodec: remove an unused variable.

parent 8adfacff
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
typedef struct { typedef struct {
AVFrame previous_frame; AVFrame previous_frame;
z_stream zstream; z_stream zstream;
int size;
} ZeroCodecContext; } ZeroCodecContext;
static int zerocodec_decode_frame(AVCodecContext *avctx, void *data, static int zerocodec_decode_frame(AVCodecContext *avctx, void *data,
...@@ -136,9 +135,6 @@ static av_cold int zerocodec_decode_init(AVCodecContext *avctx) ...@@ -136,9 +135,6 @@ static av_cold int zerocodec_decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_UYVY422; avctx->pix_fmt = AV_PIX_FMT_UYVY422;
avctx->bits_per_raw_sample = 8; avctx->bits_per_raw_sample = 8;
zc->size = avpicture_get_size(avctx->pix_fmt,
avctx->width, avctx->height);
zstream->zalloc = Z_NULL; zstream->zalloc = Z_NULL;
zstream->zfree = Z_NULL; zstream->zfree = Z_NULL;
zstream->opaque = Z_NULL; zstream->opaque = Z_NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment