diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-09 00:05:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-09 00:05:51 +0100 |
commit | 25b9eef410f4a737250dcf2d17b65f6c0c39cd6a (patch) | |
tree | a1a8c88aca0b5a88a6fd0c2e9ac1008698f34fea /libavformat/seek-test.c | |
parent | b229485f1ad38162927b235a359b98ff5a0dc13a (diff) | |
parent | 6b60a4c9c94bbe03afc8e0851197d97d96f644e5 (diff) | |
download | ffmpeg-25b9eef410f4a737250dcf2d17b65f6c0c39cd6a.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
cljr: K&R cosmetics
cljr: return a more sensible value when encountering invalid headers
cljr: drop unnecessary emms_c() calls without MMX code
cljr: remove useless casts
cljr: group encode/decode parts under single ifdefs
cljr: remove stray semicolon
cljr: add missing return statement in decode_end()
doc: add pulseaudio to the input list
avconv: remove unsubstantiated comment
shorten: avoid abort() on unknown audio types
cljr: add encoder
build: merge lists of HTML documentation targets
tests/examples: Mark some variables only used within their files as static.
tests/tools/examples: Replace direct exit() calls by return.
x86 cpuid: set vendor union members separately
cljr: release picture at end of decoding
rv40: NEON optimised rv40 qpel motion compensation
Conflicts:
doc/examples/muxing.c
libavcodec/cljr.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/seek-test.c')
-rw-r--r-- | libavformat/seek-test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c index 3a448cfe3b..ec88a0baf2 100644 --- a/libavformat/seek-test.c +++ b/libavformat/seek-test.c @@ -28,7 +28,6 @@ #include "libavutil/mathematics.h" #include "libavformat/avformat.h" -#undef exit #undef printf #undef fprintf @@ -75,7 +74,7 @@ int main(int argc, char **argv) if (argc != 2) { printf("usage: %s input_file\n" "\n", argv[0]); - exit(1); + return 1; } filename = argv[1]; @@ -84,13 +83,13 @@ int main(int argc, char **argv) av_dict_free(&format_opts); if (ret < 0) { fprintf(stderr, "cannot open %s\n", filename); - exit(1); + return 1; } ret = avformat_find_stream_info(ic, NULL); if (ret < 0) { fprintf(stderr, "%s: could not find codec parameters\n", filename); - exit(1); + return 1; } for(i=0; ; i++){ |