# HG changeset patch # User reimar # Date 1243760081 0 # Node ID 77920505b11d46f10f13b1b08d68c911209876c0 # Parent 9db25052df0ee4566e87e53553a0df9e0ab0a879 Remove now unused elements from LclEncContext diff -r 9db25052df0e -r 77920505b11d lclenc.c --- a/lclenc.c Sun May 31 08:51:30 2009 +0000 +++ b/lclenc.c Sun May 31 08:54:41 2009 +0000 @@ -54,7 +54,6 @@ AVCodecContext *avctx; AVFrame pic; - PutBitContext pb; // Image type int imgtype; @@ -62,12 +61,6 @@ 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 @@ 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 @@ LclEncContext *c = avctx->priv_data; av_freep(&avctx->extradata); - av_freep(&c->comp_buf); deflateEnd(&c->zstream); return 0;