Skip to content

Commit 3da7f00

Browse files
author
Clement Champetier
committed
InputFile: refactore desctructor
avformat_close_input set formatContext to NULL.
1 parent f8863f0 commit 3da7f00

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/AvTranscoder/file/InputFile.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ InputFile::~InputFile()
6262
}
6363

6464
if( _formatContext != NULL )
65-
{
6665
avformat_close_input( &_formatContext );
67-
_formatContext = NULL;
68-
}
6966
}
7067

7168
void InputFile::analyse( IProgress& progress, const EAnalyseLevel level )

0 commit comments

Comments
 (0)