Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : eplayer
Dir : misc/eplayer/src/input/vorbis
Modified Files:
vorbis.c
Log Message:
Added libavcodec input plugin (yeah, this means you will finally be able to listen to
your mp3s using eplayer)
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/input/vorbis/vorbis.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- vorbis.c 23 Oct 2003 17:01:49 -0000 1.1
+++ vorbis.c 24 Oct 2003 11:38:49 -0000 1.2
@@ -81,7 +81,13 @@
return sample_rate;
}
-int vorbis_read(unsigned char *buf, int len, int bigendian) {
+int vorbis_read(unsigned char *buf, int len) {
+#ifdef WORDS_BIGENDIAN
+ static int bigendian = 1;
+#else
+ static int bigendian = 0;
+#endif
+
return ov_read(&track, buf, len, bigendian, 2, 1, NULL);
}
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs