ports/audio/id3lib/files/patch-src_mp3__parse.cpp
Sunpoet Po-Chuan Hsieh 616566084d Add LICENSE
- Use USES=localbase
- Cosmetic change
- Regenerate patch files with makepatch:
- Take maintainership
2018-07-29 19:09:29 +00:00

11 lines
506 B
C++

--- src/mp3_parse.cpp.orig 2003-03-02 00:23:00 UTC
+++ src/mp3_parse.cpp
@@ -465,7 +465,7 @@ bool Mp3Info::Parse(ID3_Reader& reader,
// from http://www.xingtech.com/developer/mp3/
const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed
- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional
+ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional
if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE)
{