Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavcodec/rangecoder.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 944ad492fda..cdd99eff565 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++;
         }
-- 
2.47.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to