mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
Use the right bytes when parsing the LPCM dvd header
Original commit message from CVS: Use the right bytes when parsing the LPCM dvd header
This commit is contained in:
parent
0f5b17ead6
commit
d4eba730ac
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2005-09-01 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
||||||
|
(gst_dvdlpcmdec_init), (gst_dvdlpcmdec_setcaps),
|
||||||
|
(update_timestamps), (parse_header), (gst_dvdlpcmdec_chain_dvd),
|
||||||
|
(gst_dvdlpcmdec_chain_raw):
|
||||||
|
Use the right bytes to parse the LPCM dvd header
|
||||||
|
|
||||||
2005-09-01 Michael Smith <msmith@fluendo.com>
|
2005-09-01 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcm_reset),
|
||||||
|
|
|
@ -322,7 +322,7 @@ gst_dvdlpcmdec_chain_dvd (GstPad * pad, GstBuffer * buf)
|
||||||
* encoded.
|
* encoded.
|
||||||
*/
|
*/
|
||||||
gint first_access = (data[0] << 8) | data[1];
|
gint first_access = (data[0] << 8) | data[1];
|
||||||
guint32 header = (data[2] << 16) | (data[3] << 8) | data[2];
|
guint32 header = (data[2] << 16) | (data[3] << 8) | data[4];
|
||||||
GstBuffer *subbuf;
|
GstBuffer *subbuf;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
int off, len;
|
int off, len;
|
||||||
|
|
Loading…
Reference in a new issue