From d4b63054d9d0bd4b288a5f8e6b34c9d0e5da8188 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 29 Dec 2011 22:23:16 +0100 Subject: cosmetics: Drop unnecessary parentheses around return values. --- cmdutils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index c5c2c1ced0..4a26b6d415 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -914,8 +914,9 @@ int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec) if (*endptr++ == ':') { int stream_idx = strtol(endptr, NULL, 0); - return (stream_idx >= 0 && stream_idx < s->programs[i]->nb_stream_indexes && - st->index == s->programs[i]->stream_index[stream_idx]); + return stream_idx >= 0 && + stream_idx < s->programs[i]->nb_stream_indexes && + st->index == s->programs[i]->stream_index[stream_idx]; } for (j = 0; j < s->programs[i]->nb_stream_indexes; j++) -- cgit v1.2.3