summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-08-25 22:17:23 +0100
committerCarl Hetherington <cth@carlh.net>2015-08-25 22:17:23 +0100
commit1d68fe1e3ad1a9aa85fa7fc6071a0b8c64973953 (patch)
treecbad95204bf34c95ef2e6c6f5963eff00b81f140 /src/lib/ffmpeg_decoder.cc
parente386b94425586760374d8e1cb16be99af09cf07f (diff)
Purge rint() and use llrint and friends.
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 a17419dc7..eab85c04e 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -418,7 +418,7 @@ FFmpegDecoder::decode_video_packet ()
double const pts = i->second * av_q2d (_format_context->streams[_video_stream]->time_base) + _pts_offset.seconds ();
video (
shared_ptr<ImageProxy> (new RawImageProxy (image)),
- rint (pts * _ffmpeg_content->video_frame_rate ())
+ llrint (pts * _ffmpeg_content->video_frame_rate ())
);
} else {
LOG_WARNING_NC ("Dropping frame without PTS");