mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 22:23:17 -05:00
Bug fix when trying to restart single song in playlist
cur_streaming may be null, so can't address cur_streaming->ctx
This commit is contained in:
parent
43ed5ef7ba
commit
9704a1e65d
@ -908,6 +908,9 @@ source_next(int force)
|
||||
switch (r_mode)
|
||||
{
|
||||
case REPEAT_SONG:
|
||||
if (!cur_streaming)
|
||||
break;
|
||||
|
||||
if (cur_streaming->ctx)
|
||||
{
|
||||
ret = transcode_seek(cur_streaming->ctx, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user