[FFmpeg-cvslog] avcodec/h264: remove unused variable

Michael Niedermayer git at videolan.org
Sat Dec 28 19:40:11 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 28 18:19:46 2013 +0100| [6ea05ef278b2f99fe87e4dd37900e4f1acc2b050] | committer: Michael Niedermayer

avcodec/h264: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/h264.c |    3 ---
 libavcodec/h264.h |    2 --
 2 files changed, 5 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 90c4ca8..9dc9095 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 0d08d34..916f104 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;



More information about the ffmpeg-cvslog mailing list