History

make the decoder compile and run with treason

Sigrid Solveig Haflínudóttir committed 5 years ago

Commit 37423d41 parent be8e62f71 files · +961 −1217Browse files

Showing the changes to codec/decoder/core/src/bit_stream.cpp (1 of 71 files). Show all

Unified · Split

codec/decoder/core/src/bit_stream.cpp+1−6
@@ -40,10 +40,8 @@ · 39 unmodified lines
4040 #include "bit_stream.h"
4141 #include "error_code.h"
4242
43−namespace WelsDec {
44−
4543 inline uint32_t GetValue4Bytes (uint8_t* pDstNal) {
46− uint32_t uiValue = 0;
44+ uint32_t uiValue;
4745 uiValue = (pDstNal[0] << 24) | (pDstNal[1] << 16) | (pDstNal[2] << 8) | (pDstNal[3]);
4846 return uiValue;
4947 }
@@ -105,6 +103,3 @@ void RBSP2EBSP (uint8_t* pDstBuf, uint8_t* pSrcBuf, const int32_t kiSize) { · 55 unmodified lines
105103 *pDstPointer++ = *pSrcPointer++;
106104 }
107105 }
108−
109−} // namespace WelsDec
110−

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t