You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user