[xiph-commits] r3830 - liboggplay/trunk/src/liboggplay

oggk at svn.annodex.net oggk at svn.annodex.net
Mon Dec 15 12:49:00 PST 2008


Author: oggk
Date: 2008-12-15 12:48:59 -0800 (Mon, 15 Dec 2008)
New Revision: 3830

Modified:
   liboggplay/trunk/src/liboggplay/oggplay_file_reader.c
Log:
do not forget to initialize the duration field when creating
 a new file reader



Modified: liboggplay/trunk/src/liboggplay/oggplay_file_reader.c
===================================================================
--- liboggplay/trunk/src/liboggplay/oggplay_file_reader.c	2008-12-15 20:14:15 UTC (rev 3829)
+++ liboggplay/trunk/src/liboggplay/oggplay_file_reader.c	2008-12-15 20:48:59 UTC (rev 3830)
@@ -146,6 +146,7 @@
   me->functions.available = &oggplay_file_reader_available;
   me->functions.finished_retrieving = &oggplay_file_reader_finished_retrieving;
   me->functions.seek = NULL;
+  me->functions.duration = NULL;
   me->functions.io_read = &oggplay_file_reader_io_read;
   me->functions.io_seek = &oggplay_file_reader_io_seek;
   me->functions.io_tell = &oggplay_file_reader_io_tell;



More information about the commits mailing list