summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-08-24 22:13:48 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-08-24 22:13:48 +0000
commitdf15903f27f15e5b54421501a78037d08edf53d4 (patch)
tree3de8063c91f7c65a93bc90cef78fc4abfd4361e8 /libavcodec
parentd9c533a521977ac277dadb3a0fe6176e6806ffa7 (diff)
removed unused variable
Originally committed as revision 2159 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dv.c2
-rw-r--r--libavcodec/mpegvideo.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index d454e61e67..75fd26eea9 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 f9d994509a..364d0ace73 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){