mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avutil/tests/random_seed: eliminate goto
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
9b26bf7e2a
commit
c193132ce5
@ -43,12 +43,13 @@ int main(void)
|
||||
goto retry;
|
||||
}
|
||||
printf("seeds OK\n");
|
||||
goto next;
|
||||
break;
|
||||
retry:;
|
||||
}
|
||||
printf("rsf %d: FAIL at %d with %X\n", rsf, j, seeds[j]);
|
||||
return 1;
|
||||
next:;
|
||||
if (retry >= 3) {
|
||||
printf("rsf %d: FAIL at %d with %X\n", rsf, j, seeds[j]);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user