[FFmpeg-cvslog] zerocodec: remove an unused variable.

Anton Khirnov git at videolan.org
Mon Dec 24 16:24:21 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Nov 15 20:42:22 2012 +0100| [261f0b14ed81e34a07d20cabf24f367db8fbfc54] | committer: Anton Khirnov

zerocodec: remove an unused variable.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=261f0b14ed81e34a07d20cabf24f367db8fbfc54
---

 libavcodec/zerocodec.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/zerocodec.c b/libavcodec/zerocodec.c
index cba3198..8122cca 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;



More information about the ffmpeg-cvslog mailing list