From b14069662b77ac5d994af98110581e4329b205ab Mon Sep 17 00:00:00 2001 From: Portisch Date: Tue, 30 Apr 2024 15:52:17 +0200 Subject: fix typo: [cleanup] convert defines to functions https://github.com/xbmc/xbmc/commit/9009de080165912ddccc44c713cefcb7de007447 --- xbmc/utils/BitstreamReader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- cgit v1.2.3