Skip to content

Commit e431658

Browse files
author
Clement Champetier
committed
IOutputStream: wrap a const CodedData
1 parent 0a98baa commit e431658

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/AvTranscoder/codedStream/AvOutputStream.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ AvOutputStream::AvOutputStream( OutputFile& outputFile, const size_t streamIndex
1414
{
1515
}
1616

17-
bool AvOutputStream::wrap( CodedData& data )
17+
bool AvOutputStream::wrap( const CodedData& data )
1818
{
1919
assert( _outputFile != NULL );
20-
2120
return _outputFile->wrap( data, _streamIndex );
2221
}
2322

src/AvTranscoder/codedStream/AvOutputStream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AvExport AvOutputStream : public IOutputStream
1515

1616
size_t getStreamIndex() const { return _streamIndex; }
1717

18-
bool wrap( CodedData& data );
18+
bool wrap( const CodedData& data );
1919

2020
private:
2121
OutputFile* _outputFile;

src/AvTranscoder/codedStream/IOutputStream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class IOutputStream
1515

1616
virtual size_t getStreamIndex() const = 0;
1717

18-
virtual bool wrap( CodedData& data ) = 0;
18+
virtual bool wrap( const CodedData& data ) = 0;
1919
};
2020

2121
}

0 commit comments

Comments
 (0)