Cog
Cog copied to clipboard
Raw AAC may be broken in FFmpeg input
Describe Raw AAC input may be causing a division by zero exception due to either having a 0 channel count or 0 bits per sample. The latter would be impossible to trigger without there being a failure to open the file, so the former indicates that something is up with the channel layout detection. I'll have to deal with this a little later.
To Reproduce Steps to reproduce the behavior:
- Add some raw ADTS AAC files
- Crash on open of possibly mono or stereo file? Unknown.
Expected behavior Files should open without incident.
Version information:*
- macOS version: 13.4.1
- Cog version: 2783
Additional context This was a user submitted crash report. It occurs in the audio decode path due to division by zero error on Intel, not sure how that manifests on Apple Silicon.