WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Panic when decoding mp3 file #411

@a1phyr

Description

@a1phyr

I tried to read the following mp3 file: silence.zip.

With rodio 0.14 it works as expected but rodio 0.15 panics when calling Decoder::new_mp3.

I used the following code to read it:

fn main() {
    let data = std::io::Cursor::new(include_bytes!("silence.mp3"));
    assert!(rodio::decoder::Decoder::new_mp3(data).is_ok());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions