From a800128f70a60ab7544d4ed4d3bf101c3d1839d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 4 Apr 2007 19:00:22 +0200 Subject: Reorder and change public structures (breaking ABI). With this changes, almost all the structures are now consolidated without holes. For xine_stream_s, transform a set of (internal) integers used as booleans into a bitmask, this reduces the size of the structure by about 36 bytes. --- src/xine-engine/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xine-engine/buffer.h') diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h index 64fe52a20..49f1f17fa 100644 --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -311,7 +311,6 @@ struct buf_element_s { int32_t size ; /* size of _content_ */ int32_t max_size; /* size of pre-allocated memory pointed to by "mem" */ - uint32_t type; int64_t pts; /* presentation time stamp, used for a/v sync */ int64_t disc_off; /* discontinuity offset */ @@ -329,6 +328,7 @@ struct buf_element_s { void *source; /* pointer to source of this buffer for */ /* free_buffer */ + uint32_t type; } ; /* keyframe should be set whenever possible (that is, when demuxer -- cgit v1.2.3