diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-17 20:57:37 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-17 20:57:37 +0200 |
commit | 9acdd1f2356605d742f236ca275460dd9928bb11 (patch) | |
tree | 8ddba80cdf284cafdcac44de39f8099f396c0ed4 /src/demuxers/demux_snd.c | |
parent | 42dc706af7a1f43c7ded0cc28957c8beb9ab08b1 (diff) | |
parent | 5935b6fbe5c4d83ea35a1464b3a1c32e00b23304 (diff) | |
download | xine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.gz xine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.bz2 |
Merge changes from Solaris branch. (1.2 branch commit).
Diffstat (limited to 'src/demuxers/demux_snd.c')
-rw-r--r-- | src/demuxers/demux_snd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/demuxers/demux_snd.c b/src/demuxers/demux_snd.c index 99415890a..0f28d81cf 100644 --- a/src/demuxers/demux_snd.c +++ b/src/demuxers/demux_snd.c @@ -85,17 +85,17 @@ static int open_snd_file(demux_snd_t *this) { return 0; /* check the signature */ - if (BE_32(&header[0]) != snd_TAG) + if (_X_BE_32(&header[0]) != snd_TAG) return 0; /* file is qualified; skip over the header bytes in the stream */ this->input->seek(this->input, SND_HEADER_SIZE, SEEK_SET); - this->data_start = BE_32(&header[0x04]); - this->data_size = BE_32(&header[0x08]); - encoding = BE_32(&header[0x0C]); - this->audio_sample_rate = BE_32(&header[0x10]); - this->audio_channels = BE_32(&header[0x14]); + this->data_start = _X_BE_32(&header[0x04]); + this->data_size = _X_BE_32(&header[0x08]); + encoding = _X_BE_32(&header[0x0C]); + this->audio_sample_rate = _X_BE_32(&header[0x10]); + this->audio_channels = _X_BE_32(&header[0x14]); /* basic sanity checks on the loaded audio parameters */ if ((!this->audio_sample_rate) || |