summaryrefslogtreecommitdiff
path: root/src/xine-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-utils')
-rw-r--r--src/xine-utils/ring_buffer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/xine-utils/ring_buffer.c b/src/xine-utils/ring_buffer.c
index 0dfd370f1..dc8ddbf80 100644
--- a/src/xine-utils/ring_buffer.c
+++ b/src/xine-utils/ring_buffer.c
@@ -70,11 +70,12 @@ struct xine_ring_buffer_s {
uint8_t *buffer_end;
size_t free_size; /* size of the free zone */
- pthread_cond_t free_size_cond;
- int free_size_needed;
-
size_t full_size; /* size of the full zone */
+
+ pthread_cond_t free_size_cond;
pthread_cond_t full_size_cond;
+
+ int free_size_needed;
int full_size_needed;
xine_pool_t *chunk_pool;
@@ -84,9 +85,9 @@ struct xine_ring_buffer_s {
uint8_t *extra_buffer;
size_t extra_buffer_size;
- int EOS;
-
pthread_mutex_t lock;
+
+ int EOS;
};
/* Constructor */