[xiph-commits] r2987 - liboggplay/trunk/src/tests

shans at svn.annodex.net shans at svn.annodex.net
Mon Jun 18 01:23:49 PDT 2007


Author: shans
Date: 2007-06-18 01:23:48 -0700 (Mon, 18 Jun 2007)
New Revision: 2987

Modified:
   liboggplay/trunk/src/tests/noop.c
Log:
Fixed to at least compile now that the reader requires a filename



Modified: liboggplay/trunk/src/tests/noop.c
===================================================================
--- liboggplay/trunk/src/tests/noop.c	2007-06-18 08:23:20 UTC (rev 2986)
+++ liboggplay/trunk/src/tests/noop.c	2007-06-18 08:23:48 UTC (rev 2987)
@@ -15,11 +15,11 @@
 */
 
   INFO ("Creating new OggPlayReader");
-  reader = oggplay_file_reader_new();
 
 /* XXX: Need a file to instantiate OggPlay (oggplay_init() is not exported)
   INFO ("Creating new OggPlay instance");
-  player = oggplay_open_with_reader(reader, "/dev/full");
+  reader = oggplay_file_reader_new("/dev/full");
+  player = oggplay_open_with_reader(reader);
 
   if (player == NULL) {
     FAIL ("Could not initialise OggPlay\n");



More information about the commits mailing list