[FFmpeg-cvslog] ffserver: print error code description in case of write_header() failure
Stefano Sabatini
git at videolan.org
Sat Nov 30 14:37:22 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Nov 29 17:24:09 2013 +0100| [b58161d6b69608cffc65a86859c9ed5aa98787d4] | committer: Stefano Sabatini
ffserver: print error code description in case of write_header() failure
Improve feedback.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b58161d6b69608cffc65a86859c9ed5aa98787d4
---
ffserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffserver.c b/ffserver.c
index 64b6be2..4d656b0 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3698,7 +3698,7 @@ static void build_file_streams(void)
http_log("Opening feed file '%s' for stream '%s'\n", stream->feed_filename, stream->filename);
if ((ret = avformat_open_input(&infile, stream->feed_filename, stream->ifmt, &stream->in_opts)) < 0) {
- http_log("Could not open '%s': %d\n", stream->feed_filename, ret);
+ http_log("Could not open '%s': %s\n", stream->feed_filename, av_err2str(ret));
/* remove stream (no need to spend more time on it) */
fail:
remove_stream(stream);
More information about the ffmpeg-cvslog
mailing list