mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/hevc: Fix order of operations in hls_decode_neighbour()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
62a1e0035a
commit
3ecc063322
@ -2256,7 +2256,7 @@ static void hls_decode_neighbour(HEVCContext *s, int x_ctb, int y_ctb,
|
||||
if (y_ctb > 0 && s->tab_slice_address[ctb_addr_rs] != s->tab_slice_address[ctb_addr_rs - s->sps->ctb_width])
|
||||
lc->boundary_flags |= BOUNDARY_UPPER_SLICE;
|
||||
} else {
|
||||
if (!ctb_addr_in_slice > 0)
|
||||
if (ctb_addr_in_slice <= 0)
|
||||
lc->boundary_flags |= BOUNDARY_LEFT_SLICE;
|
||||
if (ctb_addr_in_slice < s->sps->ctb_width)
|
||||
lc->boundary_flags |= BOUNDARY_UPPER_SLICE;
|
||||
|
Loading…
Reference in New Issue
Block a user