Changeset 1386 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/NALwrite.cpp
- Timestamp:
- 13 Nov 2015, 16:29:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/NALwrite.cpp
r1313 r1386 45 45 //! \{ 46 46 47 static const Char emulation_prevention_three_byte[] = {3};47 static const UChar emulation_prevention_three_byte[] = {3}; 48 48 49 49 Void writeNalUnitHeader(ostream& out, OutputNALUnit& nalu) // nal_unit_header() … … 60 60 bsNALUHeader.write(nalu.m_temporalId+1, 3); // nuh_temporal_id_plus1 61 61 62 out.write( bsNALUHeader.getByteStream(), bsNALUHeader.getByteStreamLength());62 out.write(reinterpret_cast<const TChar*>(bsNALUHeader.getByteStream()), bsNALUHeader.getByteStreamLength()); 63 63 } 64 64 /** … … 124 124 outputBuffer[outputAmount++]=emulation_prevention_three_byte[0]; 125 125 } 126 out.write( (Char*)&(*outputBuffer.begin()), outputAmount);126 out.write(reinterpret_cast<const TChar*>(&(*outputBuffer.begin())), outputAmount); 127 127 } 128 128
Note: See TracChangeset for help on using the changeset viewer.