summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2001-08-30 12:46:31 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2001-08-30 12:46:31 +0000
commite85c89ef45d16cd2eba672ca90efdc06dd6146cd (patch)
tree6cb4d0806b7a09357aebf06690923d94d53b4589
parent918fe19376fb88e6c4d50ba991d8f98c52669168 (diff)
downloadxine-lib-e85c89ef45d16cd2eba672ca90efdc06dd6146cd.tar.gz
xine-lib-e85c89ef45d16cd2eba672ca90efdc06dd6146cd.tar.bz2
Fix byteorder problem for bigendian cpus
CVS patchset: 520 CVS date: 2001/08/30 12:46:31
-rw-r--r--src/demuxers/demux_avi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index ee46eb614..3780df6d8 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_avi.c,v 1.27 2001/08/29 02:23:58 guenter Exp $
+ * $Id: demux_avi.c,v 1.28 2001/08/30 12:46:31 jkeil Exp $
*
* demultiplexer for avi streams
*
@@ -934,7 +934,7 @@ static void demux_avi_start (demux_plugin_t *this_gen,
memcpy (buf->content, &this->avi->bih, sizeof (this->avi->bih));
buf->size = sizeof (this->avi->bih);
- switch (this->avi->bih.biCompression) {
+ switch (str2ulong((void*)&this->avi->bih.biCompression)) {
case mmioFOURCC('M', 'P', 'G', '4'):
case mmioFOURCC('m', 'p', 'g', '4'):
case mmioFOURCC('M', 'P', '4', '1'):