From 617bc828b15712e8d73c2d62cb4913bb78fb2660 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 22 Jun 2003 10:34:56 +0000 Subject: [PATCH] Typo made linear audio sync = 0.0 if nothing was specified ruining all the timecodes. --- pr_generic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_generic.cpp b/pr_generic.cpp index 7086d27f5..3cb650411 100644 --- a/pr_generic.cpp +++ b/pr_generic.cpp @@ -57,7 +57,7 @@ generic_packetizer_c::generic_packetizer_c(generic_reader_c *nreader, break; } } - if (found && (ti->async.linear == 0.0)) { + if (!found && (ti->async.linear == 0.0)) { ti->async.linear = 1.0; ti->async.displacement = 0; }