mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Fix faulty assert that stops the program from working with inter frames.
- The assert would be true after the next if block, but in it's current place it's false.
This commit is contained in:
parent
54270f271d
commit
88a67a4e49
|
@ -1649,7 +1649,7 @@ void encode_transform_tree(const encoder_control * const encoder, cabac_data* ca
|
||||||
|
|
||||||
// Tell clang-analyzer what is up. For some reason it can't figure out from
|
// Tell clang-analyzer what is up. For some reason it can't figure out from
|
||||||
// asserting just depth.
|
// asserting just depth.
|
||||||
assert(width == 4 || width == 8 || width == 16 || width == 32);
|
assert(width == 4 || width == 8 || width == 16 || width == 32 || width == 64);
|
||||||
|
|
||||||
// Split transform and increase depth
|
// Split transform and increase depth
|
||||||
if (depth == 0 || cur_cu->tr_depth > depth) {
|
if (depth == 0 || cur_cu->tr_depth > depth) {
|
||||||
|
@ -1676,7 +1676,6 @@ void encode_transform_tree(const encoder_control * const encoder, cabac_data* ca
|
||||||
| cu_c->coeff_top_v[depth+1];
|
| cu_c->coeff_top_v[depth+1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue