aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-18 14:37:06 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-21 00:23:20 +0100
commit27cd7011bc2e1669a23a45b1ee90a58716cfb592 (patch)
treedee1aacce50ed7eb3bf77715d27862292d99ac39 /libavutil/tests
parent37936b09ce316c32c456539afeb748d472088135 (diff)
downloadffmpeg-27cd7011bc2e1669a23a45b1ee90a58716cfb592.tar.gz
avutil/tests/pixelutils: Remove dead code
Forgotten in e6b125e3be19fb341fd9a759ad0af3b39ba35e0c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/pixelutils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavutil/tests/pixelutils.c b/libavutil/tests/pixelutils.c
index f5ddeb329d..828a7580d2 100644
--- a/libavutil/tests/pixelutils.c
+++ b/libavutil/tests/pixelutils.c
@@ -109,14 +109,6 @@ static int run_test(const char *test,
int i, a, ret = 0;
for (a = 0; a < 3; a++) {
- const uint8_t *block1 = b1;
- const uint8_t *block2 = b2;
-
- switch (a) {
- case 0: block1++; block2++; break;
- case 1: block2++; break;
- case 2: break;
- }
for (i = 1; i <= FF_ARRAY_ELEMS(sad_c); i++) {
int r = run_single_test(test, b1, W1, b2, W2, a, i);
if (r)