projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462cca1
)
Make ffmpeg.c use print_error() when it can't read an ffserver stream.
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Thu, 12 Jun 2008 22:30:01 +0000
(22:30 +0000)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Thu, 12 Jun 2008 22:30:01 +0000
(22:30 +0000)
Originally committed as revision 13761 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
1ad281b
..
7ef3165
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-3203,8
+3203,9
@@
static void opt_output_file(const char *filename)
av_strstart(filename, "http:", NULL)) {
/* special case for files sent to ffserver: we get the stream
parameters from ffserver */
- if (read_ffserver_streams(oc, filename) < 0) {
- fprintf(stderr, "Could not read stream parameters from '%s'\n", filename);
+ int err = read_ffserver_streams(oc, filename);
+ if (err < 0) {
+ print_error(filename, err);
av_exit(1);
}
} else {