aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-11 16:38:56 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-11 16:38:56 +0100
commit350ce0b9d3d5e531f1dcc3bed7641eba803512d7 (patch)
tree4c8c74865451dc774726bd7e5565836cb41ef9bb
parentb47582f43a82d9e1717046b5db46070b2ba4c839 (diff)
downloadffmpeg-350ce0b9d3d5e531f1dcc3bed7641eba803512d7.tar.gz
lavfi/minterpolate: Remove an unused variable.
-rw-r--r--libavfilter/vf_minterpolate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c
index 4bb5853fcf..3da696b15e 100644
--- a/libavfilter/vf_minterpolate.c
+++ b/libavfilter/vf_minterpolate.c
@@ -721,7 +721,7 @@ static int inject_frame(AVFilterLink *inlink, AVFrame *avf_in)
{
AVFilterContext *ctx = inlink->dst;
MIContext *mi_ctx = ctx->priv;
- Frame frame_tmp, *frame;
+ Frame frame_tmp;
int mb_x, mb_y, dir;
av_frame_free(&mi_ctx->frames[0].avf);
@@ -729,7 +729,6 @@ static int inject_frame(AVFilterLink *inlink, AVFrame *avf_in)
memmove(&mi_ctx->frames[0], &mi_ctx->frames[1], sizeof(mi_ctx->frames[0]) * (NB_FRAMES - 1));
mi_ctx->frames[NB_FRAMES - 1] = frame_tmp;
mi_ctx->frames[NB_FRAMES - 1].avf = avf_in;
- frame = &mi_ctx->frames[NB_FRAMES - 1];
if (mi_ctx->mi_mode == MI_MODE_MCI) {