diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-11-29 17:24:09 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-11-30 14:35:33 +0100 |
commit | b58161d6b69608cffc65a86859c9ed5aa98787d4 (patch) | |
tree | 4962f527b47ced978fd4b058c4dfc1766a26ff32 /ffserver.c | |
parent | 889509d2411606353420bf3d3f518215e434b242 (diff) | |
download | ffmpeg-b58161d6b69608cffc65a86859c9ed5aa98787d4.tar.gz |
ffserver: print error code description in case of write_header() failure
Improve feedback.
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 64b6be248c..4d656b04ff 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); |