Skip to content

Commit

Permalink
Merge pull request #25172 from Portisch/fix_typo_BS_RB32
Browse files Browse the repository at this point in the history
fix typo: [cleanup] convert defines to functions
  • Loading branch information
fuzzard committed May 9, 2024
2 parents fe2b373 + b140696 commit f1267eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/utils/BitstreamReader.h
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 f1267eb

Please sign in to comment.