De-globalise ab_read and ab_write. player thread now fully reentrant.

This commit is contained in:
Mike Brady
2017-03-10 19:57:02 +00:00
parent 314b5291a6
commit 5c48bfe0e9
2 changed files with 25 additions and 27 deletions
+1
View File
@@ -79,6 +79,7 @@ typedef struct {
int flush_requested;
int64_t flush_rtp_timestamp;
uint64_t time_of_last_audio_packet;
seq_t ab_read, ab_write;
#ifdef HAVE_LIBMBEDTLS
mbedtls_aes_context dctx;