summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ffmpeg_examiner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc
index 6c76ba5a4..4223a4bad 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -72,7 +72,7 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c, shared_ptr<Jo
s->codec->codec->name,
s->id,
s->codec->sample_rate,
- (double (_format_context->duration) / AV_TIME_BASE) * s->codec->sample_rate,
+ llrint ((double (_format_context->duration) / AV_TIME_BASE) * s->codec->sample_rate),
s->codec->channels
)
)