Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/hevc_ps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 7b486ce0af..1a459ad054 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -200,7 +200,7 @@ int ff_hevc_decode_short_term_rps(GetBitContext *gb,
AVCodecContext *avctx,
}
for (unsigned i = 0; i < FF_ARRAY_ELEMS(used); i++)
- rps->used |= used[i] * (1 << i);
+ rps->used |= used[i] * (1U << i);
} else {
unsigned int nb_positive_pics;
--
2.40.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".