This fixes an error I've experienced when trying to open files that aren't actually mp3 files but appear to be (modified magic number and mp3 extension).
The error I was previously getting was a near endless steam of Notice: Uninitialized string offset.
The fix means now an Exception is thrown and I can catch it and report that the file is invalid.
This fixes an error I've experienced when trying to open files that aren't actually mp3 files but appear to be (modified magic number and mp3 extension).
The error I was previously getting was a near endless steam of
Notice: Uninitialized string offset
.The fix means now an Exception is thrown and I can catch it and report that the file is invalid.