Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-25 21:32:03 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-12-25 23:53:37 +0400
commit565f786d1da1fea80fcea231550d5d0f174c009a (patch)
tree7912b16edfd4be4b5b5e67664abf7f1d91633236 /ffprobe.c
parentbaeda2bf92a5de97e497f13ecb04025e27f9be1a (diff)
ffprobe: Dont clear AVFrame between uses.
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>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 2bb72ab3ec..0374d372ab 100644
--- 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: