summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_aud.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-17 20:57:37 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-17 20:57:37 +0200
commit9acdd1f2356605d742f236ca275460dd9928bb11 (patch)
tree8ddba80cdf284cafdcac44de39f8099f396c0ed4 /src/demuxers/demux_aud.c
parent42dc706af7a1f43c7ded0cc28957c8beb9ab08b1 (diff)
parent5935b6fbe5c4d83ea35a1464b3a1c32e00b23304 (diff)
downloadxine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.gz
xine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.bz2
Merge changes from Solaris branch. (1.2 branch commit).
Diffstat (limited to 'src/demuxers/demux_aud.c')
-rw-r--r--src/demuxers/demux_aud.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c
index 70ddb5849..23ba15df8 100644
--- a/src/demuxers/demux_aud.c
+++ b/src/demuxers/demux_aud.c
@@ -97,7 +97,7 @@ static int open_aud_file(demux_aud_t *this) {
* of numbers. There is a 80002/16777216 = 0.48% chance of a false
* positive.
*/
- this->audio_samplerate = LE_16(&header[0]);
+ this->audio_samplerate = _X_LE_16(&header[0]);
if ((this->audio_samplerate < 8000) || (this->audio_samplerate > 48000))
return 0;
@@ -145,12 +145,12 @@ static int demux_aud_send_chunk(demux_plugin_t *this_gen) {
}
/* validate the chunk */
- if (LE_32(&chunk_preamble[4]) != 0x0000DEAF) {
+ if (_X_LE_32(&chunk_preamble[4]) != 0x0000DEAF) {
this->status = DEMUX_FINISHED;
return this->status;
}
- chunk_size = LE_16(&chunk_preamble[0]);
+ chunk_size = _X_LE_16(&chunk_preamble[0]);
current_file_pos = this->input->get_current_pos(this->input) -
this->data_start;