From 6ea05ef278b2f99fe87e4dd37900e4f1acc2b050 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 28 Dec 2013 18:19:46 +0100 Subject: [PATCH] avcodec/h264: remove unused variable Signed-off-by: Michael Niedermayer --- libavcodec/h264.c | 3 --- libavcodec/h264.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 90c4ca8031..9dc909566a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1213,9 +1213,6 @@ static void free_tables(H264Context *h, int free_rbsp) av_freep(&h->mb2b_xy); av_freep(&h->mb2br_xy); - for (i = 0; i < 3; i++) - av_freep(&h->visualization_buffer[i]); - av_buffer_pool_uninit(&h->qscale_table_pool); av_buffer_pool_uninit(&h->mb_type_pool); av_buffer_pool_uninit(&h->motion_val_pool); diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 0d08d34013..916f1043d1 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -696,8 +696,6 @@ typedef struct H264Context { uint8_t *edge_emu_buffer; int16_t *dc_val_base; - uint8_t *visualization_buffer[3]; ///< temporary buffer vor MV visualization - AVBufferPool *qscale_table_pool; AVBufferPool *mb_type_pool; AVBufferPool *motion_val_pool;