Skip to content

silk resampler panic #15

Description

@SergejJurecko

Sample rate: 16000
frame size: 320
channels: 1
encoder: use_cbr: true, bitrate_bps: 24000

After a series of missing packets (calling decode with &[0]), the first real packet after the series often crashes the decoder:

panic occurred: "index out of bounds: the len is 64 but the index is 64" panic occurred in file '/Users/sergej/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/opus-rs-0.1.32/src/silk/resampler.rs' at line 501

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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