FrameMapper: Eliminate is_open member variable

It was being used uninitialized because it's never actually set,
therefore it serves no purpose.
This commit is contained in:
FeRD (Frank Dana)
2020-03-22 12:33:59 -04:00
parent 999887687c
commit 3680144511
2 changed files with 3 additions and 4 deletions

View File

@@ -61,9 +61,9 @@ FrameMapper::FrameMapper(ReaderBase *reader, Fraction target, PulldownType targe
// Destructor
FrameMapper::~FrameMapper() {
if (is_open)
// Auto Close if not already
Close();
// Auto Close if not already
Close();
reader = NULL;
}