mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-28 10:13:22 +00:00
lavfi/testsrc: drop pointless parentheses
This commit is contained in:
parent
2702e38477
commit
7ddf082f04
@ -94,7 +94,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
|
||||
}
|
||||
av_freep(&test->rate);
|
||||
|
||||
if ((test->duration) && (ret = av_parse_time(&duration, test->duration, 1)) < 0) {
|
||||
if (test->duration && (ret = av_parse_time(&duration, test->duration, 1)) < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Invalid duration: '%s'\n", test->duration);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user