From df15903f27f15e5b54421501a78037d08edf53d4 Mon Sep 17 00:00:00 2001
From: Fabrice Bellard <fabrice@bellard.org>
Date: Sun, 24 Aug 2003 22:13:48 +0000
Subject: [PATCH] removed unused variable

Originally committed as revision 2159 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/dv.c        | 2 --
 libavcodec/mpegvideo.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index d454e61e677..75fd26eea91 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -628,8 +628,6 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
 
 static int dvvideo_decode_end(AVCodecContext *avctx)
 {
-    DVVideoDecodeContext *s = avctx->priv_data;
-
     avcodec_default_free_buffers(avctx);    
 
     return 0;
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index f9d994509ab..364d0ace732 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1426,7 +1426,6 @@ static int load_input_picture(MpegEncContext *s, AVFrame *pic_arg){
 
 static void select_input_picture(MpegEncContext *s){
     int i;
-    const int encoding_delay= s->max_b_frames;
     int coded_pic_num=0;    
 
     if(s->reordered_input_picture[0])
@@ -2725,7 +2724,6 @@ static int pix_diff_vcmp16x8(uint8_t *s1, uint8_t*s2, int stride){ //FIXME move
 void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
     if (s->avctx->draw_horiz_band) {
         AVFrame *src;
-        uint8_t *src_ptr[3];
         int offset[4];
         
         if(s->picture_structure != PICT_FRAME){
-- 
GitLab