1
0
Fork 0

avcodec/hevcpred_template: Removed unreachable code

Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Dawid Kozinski 2023-09-29 10:32:13 +02:00 committed by Ronald S. Bultje
parent f58038d498
commit 3ba3e188b3
1 changed files with 4 additions and 7 deletions

View File

@ -213,13 +213,10 @@ do { \
j = 0;
while (j < size_max_x && !IS_INTRA(j, -1))
j++;
if (j > 0)
if (cand_up_left) {
EXTEND_LEFT_CIP(top, j, j + 1);
} else {
EXTEND_LEFT_CIP(top, j, j);
top[-1] = top[0];
}
if (j > 0) {
EXTEND_LEFT_CIP(top, j, j);
top[-1] = top[0];
}
left[-1] = top[-1];
}
left[-1] = top[-1];