Thinko.
authorCarl Hetherington <cth@carlh.net>
Wed, 27 May 2015 10:12:45 +0000 (11:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 27 May 2015 10:12:45 +0000 (11:12 +0100)
src/lib/sndfile_content.cc

index 363c11b094dae6f0b7de869f32984229d21ad383..0eb7efb2f92bd5d96181c9cdf352e7f585cd9760 100644 (file)
@@ -94,6 +94,6 @@ SndfileContent::full_length () const
        shared_ptr<const Film> film = _film.lock ();
        DCPOMATIC_ASSERT (film);
        FrameRateChange const frc = film->active_frame_rate_change (position ());
-       return DCPTime::from_frames (audio_length() / frc.speed_up, film->audio_frame_rate ());
+       return DCPTime::from_frames (audio_length() / frc.speed_up, audio_frame_rate ());
 }