diff options
author | Lynne <[email protected]> | 2025-09-17 00:11:11 +0900 |
---|---|---|
committer | Lynne <[email protected]> | 2025-09-20 22:46:39 +0900 |
commit | 8d65da767b2b727a80672969f3120286ee478290 (patch) | |
tree | 3a89bbbe82113355cf5148ffa6bb58f0cdec7fa9 | |
parent | 99285cba210399447bc9893dcc30e4882b3b7c30 (diff) |
lavf: fix demuxing of FLAC files with id3v2 tags
Due to the recent id3v2 refactor, FLAC was left out due to
earlier code not checking for id3v2 presence on FLAC.
Without the id3v2 data parsed, detection of FLAC and therefore
demuxing fails.
Fixes 9d037c54f209958d47ac376d2a9561608f98dfae
-rw-r--r-- | libavformat/flacdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index fc90c01ddf..347b66d6d7 100644 --- a/libavformat/flacdec.c +++ b/libavformat/flacdec.c @@ -385,4 +385,5 @@ const FFInputFormat ff_flac_demuxer = { .read_timestamp = flac_read_timestamp, .raw_codec_id = AV_CODEC_ID_FLAC, .priv_data_size = sizeof(FLACDecContext), + .flags_internal = FF_INFMT_FLAG_ID3V2_AUTO, }; |