mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Big endian fix.
Original commit message from CVS: Big endian fix.
This commit is contained in:
parent
2af7be18a3
commit
9c816d1d3a
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ gst_vorbisfile_loop (GstElement *element)
|
|||
time = (GstClockTime) (ov_time_tell (&vorbisfile->vf) * GST_SECOND);
|
||||
|
||||
ret = ov_read (&vorbisfile->vf, GST_BUFFER_DATA (outbuf), GST_BUFFER_SIZE (outbuf),
|
||||
0, 2, 1, &vorbisfile->current_section);
|
||||
(G_BYTE_ORDER == G_LITTLE_ENDIAN ? 0 : 1), sizeof (gint16), 1, &vorbisfile->current_section);
|
||||
|
||||
if (vorbisfile->need_discont) {
|
||||
GstEvent *discont;
|
||||
|
|
Loading…
Reference in a new issue