Re: Icecast 2.4.3, minor bug
Andrey <[email protected]> Mon, 3 Oct 2016 23:11:49 +1200
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
Yes, you are right. :-/
02.10.16 21:36, Andrey пишет:
> source.c, function source_reserve() :
> Function avl_tree_wlock(global.source_tree) call must be placed before
> do-while, not inside the cycle.
>
> My correction in block _DIGI:
>
> #define _DIGI
>
> ...
> if(mount[0] != '/')
> ICECAST_LOG_WARN("Source at \"%s\" does not start with '/',
> clients will be "
> "unable to connect", mount);
>
> #ifdef _DIGI
> avl_tree_wlock (global.source_tree);
> do
> {
> #else
> do
> {
> avl_tree_wlock (global.source_tree);
> #endif
> src = source_find_mount_raw (mount);
> if (src)
> {
> src = NULL;
> break;
> }
> ...
> _______________________________________________
> Icecast-dev mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/icecast-dev
_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev