mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-28 15:06:02 -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)
|
switch (r_mode)
|
||||||
{
|
{
|
||||||
case REPEAT_SONG:
|
case REPEAT_SONG:
|
||||||
|
if (!cur_streaming)
|
||||||
|
break;
|
||||||
|
|
||||||
if (cur_streaming->ctx)
|
if (cur_streaming->ctx)
|
||||||
{
|
{
|
||||||
ret = transcode_seek(cur_streaming->ctx, 0);
|
ret = transcode_seek(cur_streaming->ctx, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user