Commit 79ed9d8a authored by stefano's avatar stefano

Make ffmpeg.c use print_error() when it can't read an ffserver stream.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13761 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6d401f04
...@@ -3203,8 +3203,9 @@ static void opt_output_file(const char *filename) ...@@ -3203,8 +3203,9 @@ static void opt_output_file(const char *filename)
av_strstart(filename, "http:", NULL)) { av_strstart(filename, "http:", NULL)) {
/* special case for files sent to ffserver: we get the stream /* special case for files sent to ffserver: we get the stream
parameters from ffserver */ parameters from ffserver */
if (read_ffserver_streams(oc, filename) < 0) { int err = read_ffserver_streams(oc, filename);
fprintf(stderr, "Could not read stream parameters from '%s'\n", filename); if (err < 0) {
print_error(filename, err);
av_exit(1); av_exit(1);
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment