diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-22 21:01:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-22 21:04:17 +0200 |
commit | 5362df2ee383e2d507d521f885e7fda2589e3998 (patch) | |
tree | 08e90deefb89bb9a76499efc4b977f08af6ebb18 | |
parent | 3d083f6ffd8c76f7ded34db7120aa9f99e0c4556 (diff) | |
download | ffmpeg-5362df2ee383e2d507d521f885e7fda2589e3998.tar.gz |
avcodec: remove unused sd variables
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/dnxhdenc.c | 2 | ||||
-rw-r--r-- | libavcodec/libxavs.c | 1 | ||||
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 1 | ||||
-rw-r--r-- | libavcodec/svq1enc.c | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 41d5005f14..c099f649e4 100644 --- a/libavcodec/dnxhdenc.c +++ b/libavcodec/dnxhdenc.c @@ -1058,7 +1058,7 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, AVPacket *pkt, DNXHDEncContext *ctx = avctx->priv_data; int first_field = 1; int offset, i, ret; - uint8_t *buf, *sd; + uint8_t *buf; if ((ret = ff_alloc_packet2(avctx, pkt, ctx->cid_table->frame_size)) < 0) return ret; diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index 69bc83af87..b8140ab672 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -117,7 +117,6 @@ static int XAVS_frame(AVCodecContext *avctx, AVPacket *pkt, xavs_nal_t *nal; int nnal, i, ret; xavs_picture_t pic_out; - uint8_t *sd; int pict_type; x4->pic.img.i_csp = XAVS_CSP_I420; diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 6939ce5a23..f837b3f29d 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -1735,7 +1735,6 @@ int ff_mpv_encode_picture(AVCodecContext *avctx, AVPacket *pkt, /* output? */ if (s->new_picture.f->data[0]) { - uint8_t *sd; int growing_buffer = context_count == 1 && !pkt->data && !s->data_partitioning; int pkt_size = growing_buffer ? FFMAX(s->mb_width*s->mb_height*64+10000, avctx->internal->byte_buffer_size) - FF_INPUT_BUFFER_PADDING_SIZE : diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 6d5ff01b51..e49dee6268 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -574,7 +574,6 @@ static int svq1_encode_frame(AVCodecContext *avctx, AVPacket *pkt, { SVQ1EncContext *const s = avctx->priv_data; int i, ret; - uint8_t *sd; if ((ret = ff_alloc_packet2(avctx, pkt, s->y_block_width * s->y_block_height * MAX_MB_BYTES*3 + FF_MIN_BUFFER_SIZE)) < 0) |