aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-12 19:24:21 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-13 10:01:15 +0100
commit102c11745e2da4e3ca248c6faed499bb2af19bd5 (patch)
treeeb206eb40cb2c451442ed09208a5c1d4d468c7c5
parentf5aad350d3695b5b16e7d135154a4c61e4dce9d8 (diff)
downloadffmpeg-102c11745e2da4e3ca248c6faed499bb2af19bd5.tar.gz
avformat/utils: add support for reading ID3 tags at start of wav
Fixes #4140.
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 93e588ee1e..7afef545fe 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -646,7 +646,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (id3v2_extra_meta) {
if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac") ||
- !strcmp(s->iformat->name, "tta")) {
+ !strcmp(s->iformat->name, "tta") || !strcmp(s->iformat->name, "wav")) {
if ((ret = ff_id3v2_parse_apic(s, &id3v2_extra_meta)) < 0)
goto fail;
if ((ret = ff_id3v2_parse_chapters(s, &id3v2_extra_meta)) < 0)