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:
baeda2b
)
ffprobe: Dont clear AVFrame between uses.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Dec 2013 17:32:03 +0000
(18:32 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 25 Dec 2013 19:53:37 +0000
(20:53 +0100)
The old API required this clearing in the past, the new API does not
require it.
Fixes memleak
Regression introduced by
37a749012aaacc801fe860428417a6d7b81c103f
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffprobe.c
patch
|
blob
|
history
diff --git
a/ffprobe.c
b/ffprobe.c
index
2bb72ab
..
0374d37
100644
(file)
--- a/
ffprobe.c
+++ b/
ffprobe.c
@@
-1789,7
+1789,6
@@
static av_always_inline int process_frame(WriterContext *w,
AVSubtitle sub;
int ret = 0, got_frame = 0;
- avcodec_get_frame_defaults(frame);
if (dec_ctx->codec) {
switch (dec_ctx->codec_type) {
case AVMEDIA_TYPE_VIDEO: