mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00: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…
Reference in New Issue
Block a user