meh / rust-ffmpeg

Safe FFmpeg wrapper.
Do What The F*ck You Want To Public License
462 stars 96 forks source link

Add unknown codec id to remove panic #156

Closed xd009642 closed 3 years ago

xd009642 commented 3 years ago

So I'm just in the progress of debugging the why. However, I did encounter a panic when attempting to decode some audio files with rust-ffmpeg that worked with my previous rust-ffmpeg-next code. This adds an unknown codec id to try and future proof things somewhat replacing the previous unreachable!