aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/zerocodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-24 16:13:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-24 16:20:07 +0100
commit7681b8e9a922b9c1b45d95e2585b716a1caed360 (patch)
treeabcd015f2c160784cae4ccef96abff2bc3b32601 /libavcodec/zerocodec.c
parent9dbedf331eca9903230368f28716f29e7375450a (diff)
parent0a9132b84c0590500bb3d6b358219323805993fc (diff)
downloadffmpeg-7681b8e9a922b9c1b45d95e2585b716a1caed360.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: wnv1: cosmetics, reformat xan: remove a trivially true if(). ansi: do not depend on get_buffer() initializing the frame. zerocodec: remove an unused variable. zmbv: remove some pointless comments and empty lines Conflicts: libavcodec/xan.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/zerocodec.c')
-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;