You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/utils: add support for reading ID3 tags at start of wav
Fixes #4140.
This commit is contained in:
@@ -646,7 +646,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
|
|
||||||
if (id3v2_extra_meta) {
|
if (id3v2_extra_meta) {
|
||||||
if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac") ||
|
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)
|
if ((ret = ff_id3v2_parse_apic(s, &id3v2_extra_meta)) < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
if ((ret = ff_id3v2_parse_chapters(s, &id3v2_extra_meta)) < 0)
|
if ((ret = ff_id3v2_parse_chapters(s, &id3v2_extra_meta)) < 0)
|
||||||
|
Reference in New Issue
Block a user