summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-27 00:41:45 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-27 00:41:45 +0100
commitc0ab72986401e62f51bc1ae22c2c2385a94a887d (patch)
tree2fb7a346c1e9b6874de204f10ea548999c5a845d /src/lib
parent9e171f83c256d2386d6ad4ce48bc06a1827ed724 (diff)
const fix.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffmpeg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc
index 9d5aa92ec..29dee2c86 100644
--- a/src/lib/ffmpeg.cc
+++ b/src/lib/ffmpeg.cc
@@ -314,7 +314,7 @@ FFmpeg::pts_offset (vector<shared_ptr<FFmpegAudioStream> > audio_streams, option
/* Now adjust so that the video pts starts on a frame */
if (first_video) {
- ContentTime fvc = first_video.get() + po;
+ ContentTime const fvc = first_video.get() + po;
po += fvc.round_up (video_frame_rate) - fvc;
}