From e85c89ef45d16cd2eba672ca90efdc06dd6146cd Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Thu, 30 Aug 2001 12:46:31 +0000 Subject: Fix byteorder problem for bigendian cpus CVS patchset: 520 CVS date: 2001/08/30 12:46:31 --- src/demuxers/demux_avi.c | 4 ++-- 1 file 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'): -- cgit v1.2.3