mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
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.
This commit is contained in:
parent
4bbccefb68
commit
3a70d95a84
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue