File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ AvInputStream::AvInputStream( )
29
29
{
30
30
}
31
31
32
- AvInputStream::AvInputStream ( InputFile* inputFile, const size_t streamIndex )
32
+ AvInputStream::AvInputStream ( InputFile& inputFile, const size_t streamIndex )
33
33
: InputStream( )
34
- , m_inputFile( inputFile )
34
+ , m_inputFile( & inputFile )
35
35
, m_packetDuration( 0 )
36
36
, m_streamIndex( streamIndex )
37
37
, m_bufferized( false )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class AvExport AvInputStream : public InputStream
13
13
public:
14
14
AvInputStream ( );
15
15
16
- AvInputStream ( InputFile* inputFile, const size_t streamIndex );
16
+ AvInputStream ( InputFile& inputFile, const size_t streamIndex );
17
17
~AvInputStream ( );
18
18
19
19
AvInputStream ( const AvInputStream& inputStream )
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ InputFile::InputFile( const std::string& filename )
49
49
50
50
for ( size_t streamIndex = 0 ; streamIndex < m_formatContext->nb_streams ; ++streamIndex )
51
51
{
52
- m_inputStreams.push_back ( new AvInputStream ( this , streamIndex ) );
52
+ m_inputStreams.push_back ( new AvInputStream ( * this , streamIndex ) );
53
53
}
54
54
}
55
55
You can’t perform that action at this time.
0 commit comments