diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-07 16:02:23 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-07 16:02:23 +0100 |
commit | 2e05af387614b9850a9b0782e5ee1ab1a78362fd (patch) | |
tree | 12df5b19f19252916372f3223fa051e69a31c744 /ext | |
parent | c42f0ad5b6aefd42a8336bd73d6e856fce306908 (diff) |
id3demux: fix parsing of unsync'ed ID3 v2.4 tags and frames
Reversing the unsynchronisation seems to work slightly differently
for ID3 v2.3 tags and v2.4 tags: v2.3 tags don't have syncsafe frame
sizes in the frame header, so the unsynchronisation is applied to
the whole frame data including all the frame headers. v2.4 frames
have sync-safe sizes, however, so the unsynchronisation only needs
to be applied to the actual frame data, and it seems that's what's
being done as well. So we need to undo the unsynchronisation on a
per-frame basis for v2.4 tags for things to work properly.
Fixes extraction of coverart/images from APIC frames in ID3 v2.4
tags (#588148).
Add unit test for this as well.
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions