Crash when audio requires resampling

Bug #1845327 reported by Daniel Wallner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg2theora
New
Undecided
Unassigned

Bug Description

Audio that causes av_samples_alloc on line 1068 in ffmpeg2theora.c to run will crash.
This does e.g. happen for flac and 16 bit wav files.

Line 1068 should be
  if (av_samples_alloc_array_and_samples(&dst_audio_data, &dst_linesize, this->channels,
not
  if (av_samples_alloc(dst_audio_data, &dst_linesize, this->channels,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.