lavfi/yadif: remove redundant NULL checks in uninit

pull/8/head
Stefano Sabatini 12 years ago
parent 4ea7c17932
commit 8674597fe5
  1. 6
      libavfilter/vf_yadif.c

@ -300,9 +300,9 @@ static av_cold void uninit(AVFilterContext *ctx)
{
YADIFContext *yadif = ctx->priv;
if (yadif->prev) avfilter_unref_bufferp(&yadif->prev);
if (yadif->cur ) avfilter_unref_bufferp(&yadif->cur );
if (yadif->next) avfilter_unref_bufferp(&yadif->next);
avfilter_unref_bufferp(&yadif->prev);
avfilter_unref_bufferp(&yadif->cur );
avfilter_unref_bufferp(&yadif->next);
av_freep(&yadif->temp_line); yadif->temp_line_size = 0;
}

Loading…
Cancel
Save