git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a2167
)
lavfi/tinterlace: drop redundant NULL checks in uninit()
author
Stefano Sabatini
<stefasab@gmail.com>
Thu, 6 Dec 2012 21:18:24 +0000
(22:18 +0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Thu, 6 Dec 2012 21:32:03 +0000
(22:32 +0100)
libavfilter/vf_tinterlace.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_tinterlace.c
b/libavfilter/vf_tinterlace.c
index
e0ba11a
..
496576d
100644
(file)
--- 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]);