summaryrefslogtreecommitdiffstats
path: root/gst/auparse
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-05-20 21:19:42 +0000
committerDavid Schleef <ds@schleef.org>2003-05-20 21:19:42 +0000
commit3a70d95a844b450926cdb9ff9237120802e13be2 (patch)
treec31931fa291602fd91a693b7126a1486fe45fead /gst/auparse
parent4bbccefb68a20d4b3dcd28a3b6d5c7292ce34aa2 (diff)
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.
Diffstat (limited to 'gst/auparse')
-rw-r--r--gst/auparse/gstauparse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c
index 5fdabddb..ed0b154c 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;