Message ID | 1548861262.11352.2.camel@bmcs.one |
---|---|
State | New |
Headers | show |
2019-01-30 16:14 GMT+01:00, c0re <c0re@bmcs.one>:
> diff --git a/libavformat/icecast.c b/libavformat/icecast.c
We can only read patches made with "git format-patch".
Carl Eugen
On 30 Jan 2019, at 21:15, Carl Eugen Hoyos wrote: > 2019-01-30 16:14 GMT+01:00, c0re <c0re@bmcs.one>: > >> diff --git a/libavformat/icecast.c b/libavformat/icecast.c > > We can only read patches made with "git format-patch". I think this was just to illustrate how easy it would be to change the behavior to work in the expected way. So far there did not seem to be much demand in being able to do this and due to the mentioned concerns (see my previous mail) I am not really convinced this should be changed. But I am happy to discuss this. This was the first time someone actually asked to allow to stream to mount '/' with the Icecast protocol in ffmpeg, at least that I am aware of. Icecast has mountpoints for a reason and not using them seems quite weird. > > Carl Eugen > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
====================================================================== diff --git a/libavformat/icecast.c b/libavformat/icecast.c index c93b06b553..aca043f59b 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -155,7 +155,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags) s->pass ? s->pass : ""); // Check for mountpoint (path) - if (!path[0] || strcmp(path, "/") == 0) { + if (!path[0] || strcmp(path, "") == 0) { av_log(h, AV_LOG_ERROR, "No mountpoint (path) specified!\n"); ret = AVERROR(EIO);