libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit bf1fe1b006c9feb9183fc95ef05824814f480265
parent 068fee0d62ed59350fca615be6b7d31bbae49f0a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 19 Jul 2008 03:47:02 +0000

no debug, fixing leak

Diffstat:
Msrc/plugins/thumbnailffmpeg/ffmpeg/libavformat/utils.c | 3+++
Msrc/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/plugins/thumbnailffmpeg/ffmpeg/libavformat/utils.c b/src/plugins/thumbnailffmpeg/ffmpeg/libavformat/utils.c @@ -1968,7 +1968,10 @@ int av_find_stream_info(AVFormatContext *ic) pkt= add_to_pktbuf(ic, &pkt1); if(av_dup_packet(pkt) < 0) + { + av_free(duration_error); return AVERROR(ENOMEM); + } read_size += pkt->size; diff --git a/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c b/src/plugins/thumbnailffmpeg/thumbnailextractorffmpeg.c @@ -32,7 +32,7 @@ #include <avcodec.h> #include <swscale.h> -#define DEBUG 1 +#define DEBUG 0 struct StreamDescriptor {