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:
e7b0e83
)
lavfi/deshake: remove unecessary check before unref.
author
Clément Bœsch
<ubitux@gmail.com>
Thu, 6 Dec 2012 15:14:38 +0000
(16:14 +0100)
committer
Clément Bœsch
<ubitux@gmail.com>
Thu, 6 Dec 2012 15:20:31 +0000
(16:20 +0100)
libavfilter/vf_deshake.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_deshake.c
b/libavfilter/vf_deshake.c
index
5c562eb
..
68d7267
100644
(file)
--- a/
libavfilter/vf_deshake.c
+++ b/
libavfilter/vf_deshake.c
@@
-530,8
+530,7
@@
static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
// Store the current frame as the reference frame for calculating the
// motion of the next frame
- if (deshake->ref != NULL)
- avfilter_unref_buffer(deshake->ref);
+ avfilter_unref_buffer(deshake->ref);
// Cleanup the old reference frame
deshake->ref = in;