[FFmpeg-cvslog] r13761 - trunk/ffmpeg.c
stefano
subversion
Fri Jun 13 00:30:01 CEST 2008
Author: stefano
Date: Fri Jun 13 00:30:01 2008
New Revision: 13761
Log:
Make ffmpeg.c use print_error() when it can't read an ffserver stream.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Fri Jun 13 00:30:01 2008
@@ -3203,8 +3203,9 @@ static void opt_output_file(const char *
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 {
More information about the ffmpeg-cvslog
mailing list