diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2024-05-10 06:39:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 06:39:18 +1000 |
commit | f1267ebf159d937477e9998e67e47d64ac85d6be (patch) | |
tree | f3e6f31c9944033323e5ad802a9230f6e5a3f199 | |
parent | fe2b3736567a6e57daaad39d24ef120bc531a3f2 (diff) | |
parent | b14069662b77ac5d994af98110581e4329b205ab (diff) | |
download | xbmc-f1267ebf159d937477e9998e67e47d64ac85d6be.tar.xz |
Merge pull request #25172 from Portisch/fix_typo_BS_RB32
fix typo: [cleanup] convert defines to functions
-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]; } |