diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-12-29 22:23:16 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-12-30 22:18:07 +0100 |
commit | d4b63054d9d0bd4b288a5f8e6b34c9d0e5da8188 (patch) | |
tree | 36f5aff04d79a9b5825f0d17b15b3f6671ab4ab7 /cmdutils.c | |
parent | f486fb338e36e674c2b72fc7c859967538cf1b47 (diff) | |
download | ffmpeg-d4b63054d9d0bd4b288a5f8e6b34c9d0e5da8188.tar.gz |
cosmetics: Drop unnecessary parentheses around return values.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 3 insertions, 2 deletions
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++) |