Skip to content

Commit 4ab9c59

Browse files
committed
MP3HeaderParser: assert found error
1 parent fe5af5d commit 4ab9c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/AudioCodecs/MP3HeaderParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class MP3HeaderParser {
229229
break;
230230
}
231231

232-
readFrameHeader(data);
232+
readFrameHeader(data+sync_pos);
233233
is_valid_mp3 = validate(data + sync_pos, len_available);
234234

235235
// check expected expected end of frame ( next frame)

0 commit comments

Comments
 (0)