summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-19 20:01:32 +0100
committerCarl Hetherington <cth@carlh.net>2025-09-03 00:52:12 +0200
commit9f4b37a9662e4d3499de36ef01bfc0245597457a (patch)
tree22fb73ca603fcd067deb6236bf9820b4ca4182a8 /src/lib/ffmpeg_decoder.cc
parent9f615589dc465c75ce776ba2c131445311ea7d74 (diff)
Use default Time constructor instead of passing 0.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index a970e6d50..d0e68d9b2 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -406,7 +406,7 @@ FFmpegDecoder::seek (ContentTime time, bool accurate)
we don't really know what the seek will give us.
*/
- auto pre_roll = accurate ? ContentTime::from_seconds (2) : ContentTime (0);
+ auto pre_roll = accurate ? ContentTime::from_seconds(2) : ContentTime();
time -= pre_roll;
/* XXX: it seems debatable whether PTS should be used here...