Skip to content

Commit

Permalink
fix typo: [cleanup] convert defines to functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Portisch committed May 9, 2024
1 parent fe2b373 commit b140696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/utils/BitstreamReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

0 comments on commit b140696

Please sign in to comment.