lavfi/tinterlace: remove unnecessary NULL check in start_frame()

pull/30/merge
Stefano Sabatini 13 years ago
parent cf9f7e40cc
commit 18c6bd098b
  1. 3
      libavfilter/vf_tinterlace.c

@ -165,8 +165,7 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
AVFilterContext *ctx = inlink->dst;
TInterlaceContext *tinterlace = ctx->priv;
if (tinterlace->cur)
avfilter_unref_buffer(tinterlace->cur);
avfilter_unref_buffer(tinterlace->cur);
tinterlace->cur = tinterlace->next;
tinterlace->next = picref;
}

Loading…
Cancel
Save