Allow static builds.
[dcpomatic.git] / src / lib / j2k_still_encoder.cc
index a4ac54e7aa42a9d62d11d61370159549837928df..dd6ef49b2a414fdf9c3567a06012aeb4f353ed8b 100644 (file)
@@ -64,7 +64,7 @@ J2KStillEncoder::do_process_video (shared_ptr<Image> yuv, shared_ptr<Subtitle> s
        }
 
        string const real = _opt->frame_out_path (0, false);
-       for (int i = 1; i < (_film->still_duration() * ImageMagickDecoder::static_frames_per_second()); ++i) {
+       for (int i = 1; i < (_film->still_duration() * 24); ++i) {
                if (!boost::filesystem::exists (_opt->frame_out_path (i, false))) {
                        string const link = _opt->frame_out_path (i, false);
 #ifdef DVDOMATIC_POSIX