File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -869,21 +869,15 @@ std::vector<uint8_t> QuickTimeMuxer::createMdatBox(const std::vector<uint8_t>& f
869869 .build (" mdat" );
870870}
871871
872+ // Helper functions for writing multi-byte values (used in legacy code paths)
872873void QuickTimeMuxer::write32 (std::vector<uint8_t >& vec, uint32_t value) {
873- vec.push_back ((value >> 24 ) & 0xFF );
874- vec.push_back ((value >> 16 ) & 0xFF );
875- vec.push_back ((value >> 8 ) & 0xFF );
876- vec.push_back (value & 0xFF );
874+ vec.push_back ((value >> 24 ) & 0xFF ); vec.push_back ((value >> 16 ) & 0xFF );
875+ vec.push_back ((value >> 8 ) & 0xFF ); vec.push_back (value & 0xFF );
877876}
878-
879877void QuickTimeMuxer::write16 (std::vector<uint8_t >& vec, uint16_t value) {
880- vec.push_back ((value >> 8 ) & 0xFF );
881- vec.push_back (value & 0xFF );
882- }
883-
884- void QuickTimeMuxer::write8 (std::vector<uint8_t >& vec, uint8_t value) {
885- vec.push_back (value);
878+ vec.push_back ((value >> 8 ) & 0xFF ); vec.push_back (value & 0xFF );
886879}
880+ void QuickTimeMuxer::write8 (std::vector<uint8_t >& vec, uint8_t value) { vec.push_back (value); }
887881
888882// getNALTypeName and getCurrentTimestamp removed - were only used for debug logging
889883
You can’t perform that action at this time.
0 commit comments