summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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;
}