hajimehoshi / go-mp3

An MP3 decoder in pure Go
Apache License 2.0
746 stars 80 forks source link

mp3: only layer3 (want 1; got 3) is supported! #9

Closed wallnutkraken closed 7 years ago

wallnutkraken commented 7 years ago

Steps to reproduce:

  1. Open this file: http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/cortex/Cortex_053.mp3
  2. call Decode() on the file

Expected result: The file is decoded successfully.

Actual result: The function returns an error saying mp3: only layer3 (want 1; got 3) is supported!

Notes: Some other files work perfectly fine, for example: http://www.podtrac.com/pts/redirect.mp3/traffic.libsyn.com/cortex/Cortex_007.mp3

hajimehoshi commented 7 years ago

Thanks, reproduced.

hajimehoshi commented 7 years ago

@alistanis Do you have any suggestion? I feel like go-mp3 should consider tags.

hajimehoshi commented 7 years ago

Fixed.