mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/ac3parse/gstac3parse.c: Fix alignment issue which isn't really an issue at all because the plugin hasn't been por...
Original commit message from CVS: * gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain): Fix alignment issue which isn't really an issue at all because the plugin hasn't been ported to 0.10 yet.
This commit is contained in:
parent
28e2ae560a
commit
3f6175dfdc
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_chain):
|
||||||
|
Fix alignment issue which isn't really an issue at all because
|
||||||
|
the plugin hasn't been ported to 0.10 yet.
|
||||||
|
|
||||||
2008-05-25 Jan Schmidt <jan.schmidt@sun.com>
|
2008-05-25 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -254,7 +254,7 @@ gst_ac3parse_chain (GstPad * pad, GstData * _data)
|
||||||
offset, skipped);
|
offset, skipped);
|
||||||
}
|
}
|
||||||
/* construct the header word */
|
/* construct the header word */
|
||||||
header = GUINT16_TO_BE (*((guint16 *) (data + offset)));
|
header = GST_READ_UINT16_BE (data + offset);
|
||||||
/* g_print("AC3PARSE: sync word is 0x%02X\n",header); */
|
/* g_print("AC3PARSE: sync word is 0x%02X\n",header); */
|
||||||
/* if it's a valid header, go ahead and send off the frame */
|
/* if it's a valid header, go ahead and send off the frame */
|
||||||
if (header == 0x0b77) {
|
if (header == 0x0b77) {
|
||||||
|
|
Loading…
Reference in a new issue