mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-18 03:19:31 +02:00
1eafbc27e2
max_bin_idx can be at most LMCS_MAX_BIN_SIZE - 1 here, so pivot[LCMS_MAX_BIN_SIZE + 1] may be accessed, but pivot has only LCMS_MAX_BIN_SIZE + 1 elements (unless the values of pivot were so that it is always assured that pivot[LCMS_MAX_BIN_SIZE] is always < sample (which it is iff it is always < 2^bit_depth - 1)). So reorder the checks. Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
||
---|---|---|
.. | ||
Makefile | ||
vvc_cabac.c | ||
vvc_cabac.h | ||
vvc_ctu.c | ||
vvc_ctu.h | ||
vvc_data.c | ||
vvc_data.h | ||
vvc_filter_template.c | ||
vvc_filter.c | ||
vvc_filter.h | ||
vvc_inter_template.c | ||
vvc_inter.c | ||
vvc_inter.h | ||
vvc_intra_template.c | ||
vvc_intra.c | ||
vvc_intra.h | ||
vvc_itx_1d.c | ||
vvc_itx_1d.h | ||
vvc_mvs.c | ||
vvc_mvs.h | ||
vvc_ps.c | ||
vvc_ps.h | ||
vvc_refs.c | ||
vvc_refs.h | ||
vvc_thread.c | ||
vvc_thread.h | ||
vvcdec.c | ||
vvcdec.h | ||
vvcdsp_template.c | ||
vvcdsp.c | ||
vvcdsp.h |