Browse Source

lavfi/testsrc: drop pointless parentheses

tags/n1.0
Stefano Sabatini 13 years ago
parent
commit
7ddf082f04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsrc_testsrc.c

+ 1
- 1
libavfilter/vsrc_testsrc.c View File

@@ -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…
Cancel
Save