mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Advance the buffer position if an ID3 tag is found. Otherwise the function would be stuck in an endless loop.
This commit is contained in:
parent
8c00f6b568
commit
71d153f81d
@ -1,3 +1,8 @@
|
|||||||
|
2004-07-26 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mkvmerge: bug fix: The word 'TAG' occuring in e.g. SRT subs
|
||||||
|
caused the ID3/MP3 frame detection to be stuck n an endless loop.
|
||||||
|
|
||||||
2004-07-25 Moritz Bunkus <moritz@bunkus.org>
|
2004-07-25 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
* Released v0.9.4.
|
* Released v0.9.4.
|
||||||
|
@ -282,7 +282,7 @@ find_consecutive_mp3_headers(const unsigned char *buf,
|
|||||||
break;
|
break;
|
||||||
mxverb(2, "mp3_reader: Found tag at %d size %d\n", base + pos,
|
mxverb(2, "mp3_reader: Found tag at %d size %d\n", base + pos,
|
||||||
mp3header.framesize);
|
mp3header.framesize);
|
||||||
base = pos + 1;
|
base += pos + 1;
|
||||||
} while (true);
|
} while (true);
|
||||||
|
|
||||||
if (num == 1)
|
if (num == 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user