Commit 350ce0b9 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavfi/minterpolate: Remove an unused variable.

parent b47582f4
...@@ -721,7 +721,7 @@ static int inject_frame(AVFilterLink *inlink, AVFrame *avf_in) ...@@ -721,7 +721,7 @@ static int inject_frame(AVFilterLink *inlink, AVFrame *avf_in)
{ {
AVFilterContext *ctx = inlink->dst; AVFilterContext *ctx = inlink->dst;
MIContext *mi_ctx = ctx->priv; MIContext *mi_ctx = ctx->priv;
Frame frame_tmp, *frame; Frame frame_tmp;
int mb_x, mb_y, dir; int mb_x, mb_y, dir;
av_frame_free(&mi_ctx->frames[0].avf); av_frame_free(&mi_ctx->frames[0].avf);
...@@ -729,7 +729,6 @@ static int inject_frame(AVFilterLink *inlink, AVFrame *avf_in) ...@@ -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)); 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] = frame_tmp;
mi_ctx->frames[NB_FRAMES - 1].avf = avf_in; mi_ctx->frames[NB_FRAMES - 1].avf = avf_in;
frame = &mi_ctx->frames[NB_FRAMES - 1];
if (mi_ctx->mi_mode == MI_MODE_MCI) { if (mi_ctx->mi_mode == MI_MODE_MCI) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment