changeset 9748:77920505b11d libavcodec

Remove now unused elements from LclEncContext
author reimar
date Sun, 31 May 2009 08:54:41 +0000
parents 9db25052df0e
children 4a4192578b60
files lclenc.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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;