diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-12-06 22:18:24 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-12-06 22:32:03 +0100 |
commit | da9a45b6815237b7fbcb7cc5cfd99244889661c7 (patch) | |
tree | 1e8b974b4780223bbb6c23ffc223aa22894a2f1c | |
parent | c6a216771fa2923f946f09952ff004debdecf673 (diff) | |
download | ffmpeg-da9a45b6815237b7fbcb7cc5cfd99244889661c7.tar.gz |
lavfi/tinterlace: drop redundant NULL checks in uninit()
-rw-r--r-- | libavfilter/vf_tinterlace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index e0ba11a40b..496576d986 100644 --- a/libavfilter/vf_tinterlace.c +++ b/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]); |