const fix.
authorCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2015 23:41:45 +0000 (00:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2015 23:41:45 +0000 (00:41 +0100)
src/lib/ffmpeg.cc

index 9d5aa92eca3d3f36f2e04c3e6c05ca5737a97ba0..29dee2c86d1e7679c15d7b6442529c8298d9d7ae 100644 (file)
@@ -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;
        }