Implementing Codacy improvements, removing some unused or pointless code

This commit is contained in:
Jonathan Thomas
2021-02-18 18:07:07 -06:00
parent 6012fc964d
commit 8280e20aa5
3 changed files with 1 additions and 32 deletions

View File

@@ -44,9 +44,6 @@ int main(int argc, char* argv[]) {
using s = std::chrono::seconds;
using double_ms = std::chrono::duration<double, ms::period>;
// Track total time
const auto total_time = double_ms(0.0);
// FFmpeg Reader performance test
const auto total_1 = std::chrono::high_resolution_clock::now();
FFmpegReader r9("/home/jonathan/Videos/sintel_trailer-1080p.mp4");
@@ -64,7 +61,6 @@ int main(int argc, char* argv[]) {
r9.Close();
// Timeline Reader performance test
Timeline tm(r9.info.width, r9.info.height, r9.info.fps, r9.info.sample_rate, r9.info.channels, r9.info.channel_layout);
Clip *c = new Clip(&r9);