summaryrefslogtreecommitdiff
path: root/src/xine-utils
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-04 18:09:14 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-04 18:09:14 +0200
commit6c684df061a3c09da94834c2d9008eb90811b242 (patch)
treec34ae59f2fcbeb19d86c170e569ba645921bc5d7 /src/xine-utils
parent92647a9d5a2e49de058a1169b465685ac9d9bdcb (diff)
downloadxine-lib-nopadding_no_abi_change.tar.gz
xine-lib-nopadding_no_abi_change.tar.bz2
Reorder and pack the structures that are defined inside compilation units instead of headers (and thus are not part of public ABI).nopadding_no_abi_change
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 */