content.
Reported-by: Matthias Damm
+2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Fix crash on analysing audio (and possibly DCP creation) with
+ resampled content.
+
2014-06-27 Carl Hetherington <cth@carlh.net>
* Version 1.71.0 released.
if (re) {
shared_ptr<const AudioBuffers> b = re->flush ();
if (b->frames ()) {
- process_audio (earliest, b, ac->audio_length (), true);
+ process_audio (
+ earliest,
+ b,
+ ac->audio_length() * ac->output_audio_frame_rate() / ac->content_audio_frame_rate(),
+ true
+ );
}
}
}