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:
9b2c57b
)
buffersrc: Use the correct deallocation function
author
Federico Tomassetti
<f.tomassetti@gmail.com>
Mon, 20 Apr 2015 19:12:05 +0000
(20:12 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 22 Apr 2015 10:26:53 +0000
(12:26 +0200)
This correction was suggested to me by Michael Niedermayer
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavfilter/buffersrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/buffersrc.c
b/libavfilter/buffersrc.c
index
f768063
..
8f7032f
100644
(file)
--- a/
libavfilter/buffersrc.c
+++ b/
libavfilter/buffersrc.c
@@
-195,7
+195,7
@@
do { \
ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \
dummy_ref, 0); \
if (!ref_out) { \
- av_
freep(&dummy_ref);
\
+ av_
buffer_unref(&dummy_ref);
\
av_frame_unref(frame); \
ret = AVERROR(ENOMEM); \
goto fail; \