Cog icon indicating copy to clipboard operation
Cog copied to clipboard

Raw AAC may be broken in FFmpeg input

Open kode54 opened this issue 11 months ago • 0 comments

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:

  1. Add some raw ADTS AAC files
  2. 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.

kode54 avatar Jul 16 '23 23:07 kode54