Commit c193132c authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/tests/random_seed: eliminate goto

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9b26bf7e
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment