Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dont try unlock mutex when our intentions are to lock it :) #98

Merged
merged 1 commit into from

2 participants

@hean01

Probably cause of crash on ps3

@andoma andoma merged commit 8d147a4 into andoma:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/backend/shoutcast/shoutcast.c
View
2  src/backend/shoutcast/shoutcast.c
@@ -153,7 +153,7 @@ static int sc_avio_read_packet(void *opaque, uint8_t *buf, int buf_size)
size_t rs = 0;
sc_shoutcast_t *sc = (sc_shoutcast_t*)opaque;
- hts_mutex_unlock(&sc->sc_stream_buffer_mutex);
+ hts_mutex_lock(&sc->sc_stream_buffer_mutex);
rs = htsbuf_read(sc->sc_stream_buffer, buf, buf_size);
Something went wrong with that request. Please try again.