summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/TimestampDecoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index 09b4050..c538ea0 100644
--- a/src/TimestampDecoder.h
+++ b/src/TimestampDecoder.h
@@ -66,7 +66,7 @@ struct frame_timestamp
offset_pps = modf(diff, &offset_secs);
this->timestamp_sec += lrintf(offset_secs);
- this->timestamp_pps += lrintf(offset_pps / 16384000.0);
+ this->timestamp_pps += lrintf(offset_pps * 16384000.0);
while (this->timestamp_pps > 16384000)
{