diff options
author | Nicolas George | 2013-06-26 15:17:27 +0200 |
---|---|---|
committer | Stefano Sabatini | 2013-06-27 00:20:20 +0200 |
commit | a334b00cf62c78d5f7a144c3b9b8c5aee5a04659 (patch) | |
tree | 979282763ba1e93010408078c78e1fee66214443 /ffprobe.c | |
parent | 205092bf478f444fb8e6f4d0f45f07fac27be352 (diff) |
ffprobe: fix exit code with stream specifiers
Without this fix, ffprobe would exit with a failure exit code if a stream
specifier is given that selects the last stream.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1921,6 +1921,7 @@ static int probe_file(WriterContext *wctx, const char *filename) goto end; else selected_streams[i] = ret; + ret = 0; } else { selected_streams[i] = 1; } |