mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
Fix c89 problem to allow compilation with VS2010.
This commit is contained in:
parent
1b437a5989
commit
54270f271d
|
@ -398,11 +398,12 @@ void filter_deblock_cu(const encoder_control * const encoder, int32_t x, int32_t
|
|||
|
||||
// split 64x64, on split flag and on border
|
||||
if (depth == 0 || split_flag || border) {
|
||||
// Split the four sub-blocks of this block recursively.
|
||||
uint8_t change = 1 << (MAX_DEPTH - 1 - depth);
|
||||
|
||||
// Tell clang-analyzer that everything is ok.
|
||||
assert(depth >= 0 && depth < MAX_DEPTH);
|
||||
|
||||
// Split the four sub-blocks of this block recursively.
|
||||
uint8_t change = 1 << (MAX_DEPTH - 1 - depth);
|
||||
filter_deblock_cu(encoder, x, y, depth + 1, edge);
|
||||
if(!border_x || border_split_x) {
|
||||
filter_deblock_cu(encoder, x + change, y, depth + 1, edge);
|
||||
|
|
Loading…
Reference in a new issue