mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
avutil/tests/random_seed: eliminate goto
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user