summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-06 11:23:56 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-06 11:23:56 +0100
commit4453965c2ab322122ffa5b51a9fc6efc0f896425 (patch)
tree7d7ebe768c1d5aa6b224f77ea8155f0db80ef2a1 /src/lib/encoder.cc
parent7958804a158e0e2230228292f4e36e0a253fc9e5 (diff)
Try to fix build.
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index ebe72b6cd..0ac32d3bf 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -154,7 +154,7 @@ Encoder::process_end ()
/* Put audio in where there is none at all */
int64_t af = video_frames_to_audio_frames (_video_frames_out, 48000, _film->dcp_frame_rate ());
while (af) {
- int64_t const this_time = min (af, 24000L);
+ int64_t const this_time = min (af, static_cast<int64_t> (24000));
shared_ptr<AudioBuffers> out (new AudioBuffers (_film->minimum_audio_channels(), this_time));
out->make_silent ();
out->set_frames (this_time);