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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions