1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-11 23:27:55 +02:00

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

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