OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9f7e4
)
lavfi/tinterlace: remove unnecessary NULL check in start_frame()
author
Stefano Sabatini
<stefasab@gmail.com>
Fri, 27 Apr 2012 20:21:22 +0000
(22:21 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Fri, 27 Apr 2012 20:45:11 +0000
(22:45 +0200)
libavfilter/vf_tinterlace.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_tinterlace.c
b/libavfilter/vf_tinterlace.c
index
ac83503
..
62e8d46
100644
(file)
--- a/
libavfilter/vf_tinterlace.c
+++ b/
libavfilter/vf_tinterlace.c
@@
-165,8
+165,7
@@
static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
AVFilterContext *ctx = inlink->dst;
TInterlaceContext *tinterlace = ctx->priv;
- if (tinterlace->cur)
- avfilter_unref_buffer(tinterlace->cur);
+ avfilter_unref_buffer(tinterlace->cur);
tinterlace->cur = tinterlace->next;
tinterlace->next = picref;
}