Get an accurate stream length from minimp3
commit1e7ed86b7733bdda38057255d0deca72529eb144
authorChris Robinson <chris.kcat@gmail.com>
Thu, 23 Aug 2018 01:34:47 +0000 (22 18:34 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 23 Aug 2018 01:34:47 +0000 (22 18:34 -0700)
tree2927063e407f67487712b65098bfb446f7d2e591
parent08bf16f8ca16ec2e858338a8184373e3dd324137
Get an accurate stream length from minimp3

A bit slower since it has to go through the whole file, but it works with all
file types (CBR and VBR), and correctly accounts for premature ending from
format changes.
src/decoders/mp3.cpp