Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-01 12:30:41 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-08-01 13:05:47 +0400
commit7ddf082f0425ef40bc679d4fae901a1d73463d1c (patch)
tree4811ed9cd7a1d3dbfc71bc907eca57a16d0a6dea /libavfilter
parent2702e384774893b2e157c544f44a0474dba047fe (diff)
lavfi/testsrc: drop pointless parentheses
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_testsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index d33f197b89..36a921931c 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -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;
}