diff options
author | Portisch <hugo.portisch@yahoo.de> | 2024-04-30 15:52:17 +0200 |
---|---|---|
committer | Portisch <hugo.portisch@yahoo.de> | 2024-05-09 21:27:12 +0200 |
commit | b14069662b77ac5d994af98110581e4329b205ab (patch) | |
tree | f3e6f31c9944033323e5ad802a9230f6e5a3f199 | |
parent | fe2b3736567a6e57daaad39d24ef120bc531a3f2 (diff) | |
download | xbmc-b14069662b77ac5d994af98110581e4329b205ab.tar.xz |
fix typo: [cleanup] convert defines to functions
https://github.com/xbmc/xbmc/commit/9009de080165912ddccc44c713cefcb7de007447
-rw-r--r-- | xbmc/utils/BitstreamReader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/BitstreamReader.h b/xbmc/utils/BitstreamReader.h index 8ff803b8b4..e25c2db217 100644 --- a/xbmc/utils/BitstreamReader.h +++ b/xbmc/utils/BitstreamReader.h @@ -47,6 +47,6 @@ constexpr uint32_t BS_RB24(const uint8_t* x) constexpr uint32_t BS_RB32(const uint8_t* x) { - return (x[1] << 24) | (x[1] << 16) | (x[2] << 8) | x[3]; + return (x[0] << 24) | (x[1] << 16) | (x[2] << 8) | x[3]; } |