From 3a70d95a844b450926cdb9ff9237120802e13be2 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 20 May 2003 21:19:42 +0000 Subject: [PATCH] Fix typo (incorrect pointer dereference). Change the magic number for little-endian streams to match with /etc/magic. Original commit message from CVS: Fix typo (incorrect pointer dereference). Change the magic number for little-endian streams to match with /etc/magic. --- gst/auparse/gstauparse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index 5fdabddb40..ed0b154cea 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -208,8 +208,10 @@ gst_auparse_chain (GstPad *pad, GstBuffer *buf) auparse->channels = GUINT32_FROM_BE (*head); head++; - /* but I wouldn't be surprised by a little endian version */ - } else if (GUINT32_FROM_LE (head) == 0x2e736e64) { + /* and of course, someone had to invent a little endian + * version. Used by DEC systems. */ + /* + } else if (GUINT32_FROM_LE (*head) == 0x0064732E) { auparse->le = 1; head++; auparse->le = 0;