Commit graph

1776 commits

Author SHA1 Message Date
Serial
03047bb345 FLAC: Stop moving padding blocks
`PADDING` blocks were incorrectly getting moved to the end of the header without the `Last-metadata-block` getting set.
2024-08-25 13:43:53 -04:00
Serial
0b903e9698 changelog: Add entries for fuzzing fixes 2024-08-24 12:49:14 -04:00
Serial
34238b5ec1 AAC: Fix overflow on tag size mismatches 2024-08-24 12:49:14 -04:00
Serial
9c967f6333 MPC: Fix overflow on tag size mismatches 2024-08-24 12:49:14 -04:00
Serial
4f9971a9fc Clippy 2024-08-24 12:32:18 -04:00
Serial
2f270e873a FLAC: Retain vendor strings on tag write 2024-08-24 12:32:18 -04:00
Serial
1505ddf69f
0.21.0 2024-07-29 07:44:52 -04:00
Serial
18c9ea0511
misc: Update dependencies 2024-07-29 07:38:21 -04:00
Serial
9ff01c18b4 changelog: Update for latest changes 2024-07-28 13:57:33 -04:00
Serial
51e9f5d8b9 MP4: Fix panic on large stts entry counts 2024-07-28 13:57:33 -04:00
Serial
dfb5601b7f alloc: Add fallible Vec::with_capacity 2024-07-28 13:57:33 -04:00
Serial
5661d18a2e MP4: Fix panic on improperly sized freeform idents 2024-07-23 16:07:43 -04:00
Serial
59560234b4 MP4: Fix panic on invalid hdlr atom size 2024-07-23 16:07:43 -04:00
Serial
15e893e268 MP4: Fix panic on invalid data atom size 2024-07-23 16:07:43 -04:00
Serial
3541fd73f3 WAV: Fix panic on invalid bits_per_sample 2024-07-23 16:07:43 -04:00
Serial
15c1aed9bf MP4: Allow invalid atom sizes with ParsingMode::Relaxed 2024-07-22 12:19:32 -04:00
Serial
9b4cf83f2a ID3v2.3: Fix some writing issues
* TDAT is DDMM, was previously written as MMDD
* TCON conversion will properly handle refinements
* TIPL and TMCL are now merged into IPLS
2024-07-16 15:17:20 -04:00
Serial
38002d18b1
ID3v2: Stop writing synchsafe integers for ID3v2.3 2024-07-15 13:14:17 -04:00
Serial
5a3a8ba8c6 Vorbis: Check comment counts before allocation 2024-07-14 15:10:36 -04:00
Serial
2a7c061e74 WAV: Fix panic on improperly sized INFO LISTs 2024-07-14 15:10:36 -04:00
Serial
dd9aa76a54 MP4: Fix panic with improperly sized freeform idents 2024-07-14 15:10:36 -04:00
Serial
e9ec05babf AIFF: Fix parsing of invalid f80 sample rates 2024-07-14 15:10:36 -04:00
Serial
37fdc657a3 MP4: Fix division by zero panic 2024-07-14 15:10:36 -04:00
Serial
61adb2a28f WAV: Fix multiply with overflow panic 2024-07-14 15:10:36 -04:00
Serial
60bd996e72 Vorbis: Fix multiply with overflow panic 2024-07-14 15:10:36 -04:00
Serial
1e8dbf4295 FLAC: Fix subtract with overflow panic 2024-07-14 15:10:36 -04:00
Serial
3d43b5882d
changelog: Update for recent changes 2024-07-04 12:30:16 -04:00
Uwe Klotz
4fc6b96f40 Add comments 2024-07-04 12:24:59 -04:00
Uwe Klotz
a523db78d1 Add Tag::take_filter() 2024-07-04 12:24:59 -04:00
Serial
fcb5446922 ID3v2: Ignore empty timestamp frames
I had a file with an empty timestamp frame that errored with `ParsingMode::BestAttempt`. Now that's only an error case with `ParsingMode::Strict`.
2024-07-04 12:17:30 -04:00
Serial
d4e58ea15d changelog: Add entry for ID3v2.3 write support 2024-07-04 11:53:50 -04:00
Serial
3fd6799528 Clippy: Allow struct_excessive_bools 2024-07-04 11:53:50 -04:00
Serial
a6b56c620d ID3v2: Support writing ID3v2.3 tags
closes #62
2024-07-04 11:53:50 -04:00
Serial
ae94af1a88 config: Add ParseOptions::implicit_conversions 2024-07-04 11:53:50 -04:00
Serial
40e11ca729 FLAC: Allow skipping picture blocks 2024-07-04 11:39:52 -04:00
Serial
13337fc7fc changelog: Add entry for ParseOptions::read_cover_art 2024-07-04 11:39:52 -04:00
Serial
6e821b7e3e ParseOptions: Add read_cover_art 2024-07-04 11:39:52 -04:00
Serial
89dd85c3dc ParseOptions: Add ParseOptions::read_tags
This makes it possible to use Lofty exclusively for its property reading, which many projects do at this point.

closes #251
2024-07-04 11:18:25 -04:00
Serial
b2c310d709
0.20.1 2024-07-02 16:09:40 -04:00
Serial
b7f86d2844 changelog: Add entry for MPEG duration fix 2024-07-02 16:07:31 -04:00
Serial
b7adbd19ef MPEG: Improve duration calculation
For files with a VBR header:
Thanks to @naglis for correcting the length calculation. (issue: #412)

For files without a VBR header:
`rev_search_for_frame_header` would get tripped up on files with trailing data
that looked like a frame sync (ex. 0xFFFF). This would also result in durations that are
slightly off.

For now, VBR streams are still assumed to be CBR. I have not seen a file this does not
work for yet. Eventually it would be nice to have more accurate calculation, but that will require we read the *entire* file.
2024-07-02 16:07:31 -04:00
Serial
dde24d5b6d Clippy: Fix doc_lazy_continuation 2024-06-11 17:38:17 -04:00
Serial
89adc98b8e
Clippy: Fix lint_groups_priority 2024-06-06 13:27:05 -04:00
Serial
cd86aaad9c
0.20.0 2024-06-06 13:20:32 -04:00
Serial
657add15d8
lofty_attr: 0.11.0 2024-06-06 13:17:41 -04:00
dependabot[bot]
943a7e1d59 build(deps): update iai-callgrind requirement from 0.10.2 to 0.11.0
Updates the requirements on [iai-callgrind](https://github.com/iai-callgrind/iai-callgrind) to permit the latest version.
- [Release notes](https://github.com/iai-callgrind/iai-callgrind/releases)
- [Changelog](https://github.com/iai-callgrind/iai-callgrind/blob/main/CHANGELOG.md)
- [Commits](https://github.com/iai-callgrind/iai-callgrind/compare/v0.10.2...v0.11.0)

---
updated-dependencies:
- dependency-name: iai-callgrind
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 13:15:46 -04:00
Serial
e5bda0cfca changelog: Add entry for BoundTaggedFile::into_inner 2024-06-06 11:20:19 -04:00
Serial
b57992b128 Tests: Refactor BoundTaggedFile::into_inner test 2024-06-06 11:20:19 -04:00
bruh
fee3c1fb0c [feat] add into_inner for BoundTaggedFile 2024-06-06 11:20:19 -04:00
Serial
739491f238 MP4: Dont discard tags on multiple udta 2024-06-06 11:19:33 -04:00