Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -200,7 +200,7 @@ int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx, · 199 unmodified lines | ||
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | for (unsigned i = 0; i < FF_ARRAY_ELEMS(used); i++) |
| 203 | − rps->used |= used[i] * (1 << i); | |
| 203 | + rps->used |= (uint32_t)used[i] << i; | |
| 204 | 204 | } else { |
| 205 | 205 | unsigned int nb_positive_pics; |
| 206 | 206 | |