lavfi/tinterlace: drop redundant NULL checks in uninit()

pull/8/head
Stefano Sabatini 12 years ago
parent c6a216771f
commit da9a45b681
  1. 4
      libavfilter/vf_tinterlace.c

@ -106,8 +106,8 @@ static av_cold void uninit(AVFilterContext *ctx)
{
TInterlaceContext *tinterlace = ctx->priv;
if (tinterlace->cur ) avfilter_unref_bufferp(&tinterlace->cur );
if (tinterlace->next) avfilter_unref_bufferp(&tinterlace->next);
avfilter_unref_bufferp(&tinterlace->cur );
avfilter_unref_bufferp(&tinterlace->next);
av_opt_free(tinterlace);
av_freep(&tinterlace->black_data[0]);

Loading…
Cancel
Save