We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846ff21 commit 0816e65Copy full SHA for 0816e65
src/AvTranscoder/file/OutputFile.cpp
@@ -15,6 +15,14 @@ OutputFile::OutputFile( const std::string& filename )
15
, _verbose( false )
16
{}
17
18
+OutputFile::~OutputFile()
19
+{
20
+ for( std::vector< OutputStream* >::iterator it = _outputStreams.begin(); it != _outputStreams.end(); ++it )
21
+ {
22
+ delete (*it);
23
+ }
24
+}
25
+
26
bool OutputFile::setup()
27
{
28
_formatContext.setOutputFormat( _filename );
src/AvTranscoder/file/OutputFile.hpp
@@ -32,7 +32,7 @@ class AvExport OutputFile
32
**/
33
OutputFile( const std::string& filename = "" );
34
35
- virtual ~OutputFile(){};
+ virtual ~OutputFile();
36
37
/**
38
* @brief Initialize the OutputFile, create format context to wrap essences into output file.
0 commit comments