diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-01-02 11:19:21 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-01-04 11:48:53 +0100 |
commit | 8674597fe53179538a27093e12fc81ed9f84e017 (patch) | |
tree | d8198f1db1a1e66ac69de7bf93a25e9600e54035 /libavfilter | |
parent | 4ea7c179325f61736040f2ff22c2f27c702727d4 (diff) | |
download | ffmpeg-8674597fe53179538a27093e12fc81ed9f84e017.tar.gz |
lavfi/yadif: remove redundant NULL checks in uninit
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_yadif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index ed2ffd5968..040c6230f9 100644 --- a/libavfilter/vf_yadif.c +++ b/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; } |