From 64b1679b232cc1eea41e132a47898bdfd191d649 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 13 Mar 2020 14:41:42 +0100 Subject: [PATCH] cosmetics: indentation, using thousands separators --- src/common/frame_timing.cpp | 26 +++++++++++++------------- src/input/r_qtmp4.cpp | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/common/frame_timing.cpp b/src/common/frame_timing.cpp index f4148ecef..d45ac2bcb 100644 --- a/src/common/frame_timing.cpp +++ b/src/common/frame_timing.cpp @@ -17,19 +17,19 @@ namespace mtx::frame_timing { std::vector g_common_frame_rates{ - { 1000000000ll / 120, { 120, 1 } }, // 120 fps - { 1000000000ll / 100, { 100, 1 } }, // 100 fps - { 1000000000ll / 50, { 50, 1 } }, // 50 fps - { 1000000000ll / 48, { 48, 1 } }, // 48 fps - { 1000000000ll / 24, { 24, 1 } }, // 24 fps - { 1000000000ll / 25, { 25, 1 } }, // 25 fps - { 1000000000ll / 60, { 60, 1 } }, // 60 fps - { 1000000000ll / 30, { 30, 1 } }, // 30 fps - { 1000000000ll * 1001 / 48000, { 48000, 1001 } }, // 47.952 fps - { 1000000000ll * 1001 / 24000, { 24000, 1001 } }, // 23.976 fps - { 1000000000ll * 1001 / 50000, { 50000, 1001 } }, // 24.975 frames per second telecined PAL - { 1000000000ll * 1001 / 60000, { 60000, 1001 } }, // 59.94 fps - { 1000000000ll * 1001 / 30000, { 30000, 1001 } }, // 29.97 fps + { 1'000'000'000ll / 120, { 120, 1 } }, // 120 fps + { 1'000'000'000ll / 100, { 100, 1 } }, // 100 fps + { 1'000'000'000ll / 50, { 50, 1 } }, // 50 fps + { 1'000'000'000ll / 48, { 48, 1 } }, // 48 fps + { 1'000'000'000ll / 24, { 24, 1 } }, // 24 fps + { 1'000'000'000ll / 25, { 25, 1 } }, // 25 fps + { 1'000'000'000ll / 60, { 60, 1 } }, // 60 fps + { 1'000'000'000ll / 30, { 30, 1 } }, // 30 fps + { 1'000'000'000ll * 1'001 / 48'000, { 48'000, 1'001 } }, // 47.952 fps + { 1'000'000'000ll * 1'001 / 24'000, { 24'000, 1'001 } }, // 23.976 fps + { 1'000'000'000ll * 1'001 / 50'000, { 50'000, 1'001 } }, // 24.975 frames per second telecined PAL + { 1'000'000'000ll * 1'001 / 60'000, { 60'000, 1'001 } }, // 59.94 fps + { 1'000'000'000ll * 1'001 / 30'000, { 30'000, 1'001 } }, // 29.97 fps }; int64_rational_c diff --git a/src/input/r_qtmp4.cpp b/src/input/r_qtmp4.cpp index 48e114563..c37a448db 100644 --- a/src/input/r_qtmp4.cpp +++ b/src/input/r_qtmp4.cpp @@ -1576,8 +1576,8 @@ qtmp4_reader_c::read(generic_packetizer_c *ptzr, if (m_demuxers.size() == dmx_idx) return flush_packetizers(); - auto &dmx = *m_demuxers[dmx_idx]; - auto &index = dmx.m_index[dmx.pos]; + auto &dmx = *m_demuxers[dmx_idx]; + auto &index = dmx.m_index[dmx.pos]; m_in->setFilePointer(index.file_pos);