summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-29 16:46:23 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-29 16:46:23 +0000
commit311ab0560b4a7052f60ed7db632a6bc226f10c6e (patch)
treec74097ded2213b0e29c075b16837b9824c615358 /src
parent9ee932c7454a766ff430f122328e09120ba479dc (diff)
downloadxine-lib-311ab0560b4a7052f60ed7db632a6bc226f10c6e.tar.gz
xine-lib-311ab0560b4a7052f60ed7db632a6bc226f10c6e.tar.bz2
Reorder demux_tta_t structure so that all the important pointers and variables fall into the same cacheline, while the header can simply remain on a different one, as it's needed only at the begin of the encoding.
CVS patchset: 8758 CVS date: 2007/03/29 16:46:23
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_tta.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/demuxers/demux_tta.c b/src/demuxers/demux_tta.c
index aec6becae..2e4808b9c 100644
--- a/src/demuxers/demux_tta.c
+++ b/src/demuxers/demux_tta.c
@@ -20,7 +20,7 @@
* True Audio demuxer by Diego Pettenò <flameeyes@gentoo.org>
* Inspired by tta libavformat demuxer by Alex Beregszaszi
*
- * $Id: demux_tta.c,v 1.3 2007/02/25 18:04:57 dgp85 Exp $
+ * $Id: demux_tta.c,v 1.4 2007/03/29 16:46:23 dgp85 Exp $
*/
#define LOG_MODULE "demux_tta"
@@ -40,6 +40,11 @@ typedef struct {
fifo_buffer_t *video_fifo;
fifo_buffer_t *audio_fifo;
input_plugin_t *input;
+
+ uint32_t *seektable;
+ uint32_t totalframes;
+ uint32_t currentframe;
+
int status;
union {
@@ -54,10 +59,6 @@ typedef struct {
} __attribute__((__packed__)) tta;
uint8_t buffer[22]; /* This is the size of the header */
} header;
-
- uint32_t totalframes;
- uint32_t currentframe;
- uint32_t *seektable;
} demux_tta_t;
typedef struct {