diff options
author | Wujian(Chin) <wujian2@huawei.com> | 2022-08-22 13:59:45 +0000 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2022-08-24 10:45:33 +0800 |
commit | 76cb899f8ad370bdbd02bb953d4a64af988f1665 (patch) | |
tree | 3014fcab244eeab4b9bd956b0d32b72b28992242 /libavformat/wavdec.c | |
parent | 0b3f09689dd3dde90e44e6ada4dd3d77cb4d44ac (diff) | |
download | ffmpeg-76cb899f8ad370bdbd02bb953d4a64af988f1665.tar.gz |
avformat/wavdec: fix the ID3 metadata obtained in WAV format's missing
Fixes ticket #9848.
Signed-off-by: wujian_nanjing <wujian2@huawei.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r-- | libavformat/wavdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index ca61b844b5..e3f790fcc9 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -555,7 +555,7 @@ static int wav_read_header(AVFormatContext *s) case MKTAG('I', 'D', '3', ' '): case MKTAG('i', 'd', '3', ' '): { ID3v2ExtraMeta *id3v2_extra_meta; - ff_id3v2_read_dict(pb, &ffformatcontext(s)->id3v2_meta, ID3v2_DEFAULT_MAGIC, &id3v2_extra_meta); + ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC, &id3v2_extra_meta, 0); if (id3v2_extra_meta) { ff_id3v2_parse_apic(s, id3v2_extra_meta); ff_id3v2_parse_chapters(s, id3v2_extra_meta); |