ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Wed Jul 22 21:01:56 2015 +0200| [5362df2ee383e2d507d521f885e7fda2589e3998] | committer: Michael Niedermayer
avcodec: remove unused sd variables Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5362df2ee383e2d507d521f885e7fda2589e3998 --- libavcodec/dnxhdenc.c | 2 +- libavcodec/libxavs.c | 1 - libavcodec/mpegvideo_enc.c | 1 - libavcodec/svq1enc.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 41d5005..c099f64 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 69bc83a..b8140ab 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 6939ce5..f837b3f 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 6d5ff01..e49dee6 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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog