Commit da9a45b6 authored by Stefano Sabatini's avatar Stefano Sabatini

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

parent c6a21677
...@@ -106,8 +106,8 @@ static av_cold void uninit(AVFilterContext *ctx) ...@@ -106,8 +106,8 @@ static av_cold void uninit(AVFilterContext *ctx)
{ {
TInterlaceContext *tinterlace = ctx->priv; TInterlaceContext *tinterlace = ctx->priv;
if (tinterlace->cur ) avfilter_unref_bufferp(&tinterlace->cur ); avfilter_unref_bufferp(&tinterlace->cur );
if (tinterlace->next) avfilter_unref_bufferp(&tinterlace->next); avfilter_unref_bufferp(&tinterlace->next);
av_opt_free(tinterlace); av_opt_free(tinterlace);
av_freep(&tinterlace->black_data[0]); av_freep(&tinterlace->black_data[0]);
......
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