aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-08 22:35:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-17 14:45:10 +0200
commitf5bfc11b5decdf4eef06d25d9699a1d4dcda0b8a (patch)
treebb2bb30e7afe08c46713df42093b2d5e0660aed1
parentbde2cdfe9b570fdff2e741d68758e23271b9527c (diff)
downloadffmpeg-f5bfc11b5decdf4eef06d25d9699a1d4dcda0b8a.tar.gz
avformat/demux: Don't free inexistent ID3v2 metadata
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/demux.c b/libavformat/demux.c
index c490a2dffb..714146039f 100644
--- a/libavformat/demux.c
+++ b/libavformat/demux.c
@@ -319,8 +319,8 @@ int avformat_open_input(AVFormatContext **ps, const char *filename,
goto close;
} else
av_log(s, AV_LOG_DEBUG, "demuxer does not support additional id3 data, skipping\n");
+ ff_id3v2_free_extra_meta(&id3v2_extra_meta);
}
- ff_id3v2_free_extra_meta(&id3v2_extra_meta);
if ((ret = avformat_queue_attached_pictures(s)) < 0)
goto close;