aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-31 01:16:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-31 01:16:45 +0100
commit1a6a088f7c7b164042ad16d43d05543ce1bacfa4 (patch)
treead29c28f8c42f776f85a65cef87ed625c1a302e2 /cmdutils.c
parente146ad95d79b1a6e6b9e566366b832825c79679f (diff)
parent9afc025bff4e3a517105a69ec5009ac66b38f483 (diff)
downloadffmpeg-1a6a088f7c7b164042ad16d43d05543ce1bacfa4.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: fate: whitespace cosmetics fate: split off video codec FATE tests into their own file fate: split off audio codec FATE tests into their own file fate: split off Electronic Arts codec FATE tests into their own file fate: split off QuickTime codec FATE tests into their own file fate: split off voice codec FATE tests into their own file fate: split off demuxer FATE tests into their own file cosmetics: Drop unnecessary parentheses around return values. fate: drop pointless _audio and _video suffixes from xan tests qt-faststart: K&R reformatting; fix comment typos FATE: Add test for H.264 MP4->annex.B bitstream filter. Conflicts: ffplay.c tests/fate.mak tests/fate/h264.mak tests/fate/image.mak tests/fate/lossless-audio.mak tests/fate/lossless-video.mak tests/fate/qtrle.mak tests/fate/real.mak tests/fate/screen.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c
index adf1b5fea3..a7e82e6519 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1034,8 +1034,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++)