projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af7be1
)
Big endian fix.
author
Wim Taymans
<wim.taymans@gmail.com>
Wed, 31 Jul 2002 21:25:38 +0000
(21:25 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Wed, 31 Jul 2002 21:25:38 +0000
(21:25 +0000)
Original commit message from CVS:
Big endian fix.
ext/vorbis/vorbisfile.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/vorbisfile.c
b/ext/vorbis/vorbisfile.c
index
866f8c7
..
39bd4b3
100644
(file)
--- a/
ext/vorbis/vorbisfile.c
+++ b/
ext/vorbis/vorbisfile.c
@@
-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;