summaryrefslogtreecommitdiff
path: root/libavcodec/lclenc.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 08:54:41 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 08:54:41 +0000
commit55619690e816b378937e2c86188aa61c30b78ae8 (patch)
treef82c79110eeb6a3f5cf376f62dbe4ca71d33576c /libavcodec/lclenc.c
parent3b855101b4e2821e835731351f84a93654729cdc (diff)
Remove now unused elements from LclEncContext
Originally committed as revision 19032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lclenc.c')
-rw-r--r--libavcodec/lclenc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c
index 451f8e607e..695fe70c52 100644
--- a/libavcodec/lclenc.c
+++ b/libavcodec/lclenc.c
@@ -54,7 +54,6 @@ typedef struct LclEncContext {
AVCodecContext *avctx;
AVFrame pic;
- PutBitContext pb;
// Image type
int imgtype;
@@ -62,12 +61,6 @@ typedef struct LclEncContext {
int compression;
// Flags
int flags;
- // Decompressed data size
- unsigned int decomp_size;
- // Maximum compressed data size
- unsigned int max_comp_size;
- // Compression buffer
- unsigned char* comp_buf;
z_stream zstream;
} LclEncContext;
@@ -142,7 +135,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
switch(avctx->pix_fmt){
case PIX_FMT_BGR24:
c->imgtype = IMGTYPE_RGB24;
- c->decomp_size = avctx->width * avctx->height * 3;
avctx->bits_per_coded_sample= 24;
break;
default:
@@ -182,7 +174,6 @@ static av_cold int encode_end(AVCodecContext *avctx)
LclEncContext *c = avctx->priv_data;
av_freep(&avctx->extradata);
- av_freep(&c->comp_buf);
deflateEnd(&c->zstream);
return 0;