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
40#include "bit_stream.h"40#include "bit_stream.h"
41#include "error_code.h"41#include "error_code.h"
42 42
43namespace WelsDec {
44
45inline uint32_t GetValue4Bytes (uint8_t* pDstNal) {43inline uint32_t GetValue4Bytes (uint8_t* pDstNal) {
46 uint32_t uiValue = 0;44 uint32_t uiValue;
47 uiValue = (pDstNal[0] << 24) | (pDstNal[1] << 16) | (pDstNal[2] << 8) | (pDstNal[3]);45 uiValue = (pDstNal[0] << 24) | (pDstNal[1] << 16) | (pDstNal[2] << 8) | (pDstNal[3]);
48 return uiValue;46 return uiValue;
49}47}
@@ -105,6 +103,3 @@ void RBSP2EBSP (uint8_t* pDstBuf, uint8_t* pSrcBuf, const int32_t kiSize) { · 55 unmodified lines
105 *pDstPointer++ = *pSrcPointer++;103 *pDstPointer++ = *pSrcPointer++;
106 }104 }
107}105}
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