Showing the changes to codec/decoder/core/src/bit_stream.cpp (1 of 71 files). Show all
Unified · Split
| @@ -40,10 +40,8 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "bit_stream.h" |
| 41 | 41 | #include "error_code.h" |
| 42 | 42 | |
| 43 | −namespace WelsDec { | |
| 44 | − | |
| 45 | 43 | inline uint32_t GetValue4Bytes (uint8_t* pDstNal) { |
| 46 | − uint32_t uiValue = 0; | |
| 44 | + uint32_t uiValue; | |
| 47 | 45 | uiValue = (pDstNal[0] << 24) | (pDstNal[1] << 16) | (pDstNal[2] << 8) | (pDstNal[3]); |
| 48 | 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 | 103 | *pDstPointer++ = *pSrcPointer++; |
| 106 | 104 | } |
| 107 | 105 | } |
| 108 | − | |
| 109 | −} // namespace WelsDec | |
| 110 | − | |