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

This commit is contained in:
Stefano Sabatini 2012-12-06 22:18:24 +01:00
parent c6a216771f
commit da9a45b681
1 changed files with 2 additions and 2 deletions

View File

@ -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]);