From 9936bf0ecaab4401252b839835fbdabdde5c71f5 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 23 Oct 2013 14:31:04 -0700 Subject: [PATCH] Initialize drop when loading timecodes (CID #1111295) --- aegisub/libaegisub/common/vfr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/libaegisub/common/vfr.cpp b/aegisub/libaegisub/common/vfr.cpp index 543d84215..3f6b6fe12 100644 --- a/aegisub/libaegisub/common/vfr.cpp +++ b/aegisub/libaegisub/common/vfr.cpp @@ -197,6 +197,7 @@ void Framerate::swap(Framerate &right) throw() { Framerate::Framerate(fs::path const& filename) : denominator(default_denominator) , numerator(0) +, drop(false) { auto file = agi::io::Open(filename); auto encoding = agi::charset::Detect(filename);