[FFmpeg-devel] [PATCH] Fix bad ID3v2 tag length

misc at atomas.com misc at atomas.com
Thu Jan 9 09:53:49 EET 2020


(this time with the attached git-format patch !)

The Id3v2 tag is set to a wrong size (14 bytes too large), when a CTOC
frame is included. It makes decoders believe the first MP3 frame is inside
the ID3v2 tag, and hence mungle the first mp3 frame.
The code source uses a hardcoded "16" magic value that is incorrect. (it
should be "2")

This patch fixes this bug *without* using magic values.

See:
https://github.com/gbouthenot/mp3splitter-js/issues/2
https://github.com/openaudible/openaudible/issues/258

Thank you !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bad-ID3v2-tag-length.patch
Type: application/octet-stream
Size: 1188 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200109/35c2c864/attachment.obj>


More information about the ffmpeg-devel mailing list