diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-10-16 21:09:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-12-02 03:14:46 +0100 |
commit | 18922f4ae3d45ee1dd51abc2832cca1c8ad5c2f9 (patch) | |
tree | 7bce0b112ed7c25988ef512826f10f5eda07f1f1 /libavcodec/rangecoder.h | |
parent | 70fa8bd38cdb62cf225471c2dbf6779c348f9b67 (diff) | |
download | ffmpeg-18922f4ae3d45ee1dd51abc2832cca1c8ad5c2f9.tar.gz |
avcodec/rangecoder: Remove unneeded outstanding byte mask
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rangecoder.h')
-rw-r--r-- | libavcodec/rangecoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h index 944ad492fd..cdd99eff56 100644 --- a/libavcodec/rangecoder.h +++ b/libavcodec/rangecoder.h @@ -72,7 +72,7 @@ static inline void renorm_encoder(RangeCoder *c) *c->bytestream++ = c->outstanding_byte + 1; for (; c->outstanding_count; c->outstanding_count--) *c->bytestream++ = 0x00; - c->outstanding_byte = (c->low >> 8) & 0xFF; + c->outstanding_byte = c->low >> 8; } else { c->outstanding_count++; } |