diff read_cache.c @ 114:b6834e6359cf src

big libdvdnav cleanup, quoting the ChangeLog: * some bugfixes * code cleanup * build process polishing * more sensible event order in get_next_block to ensure useful event delivery * VOBU level resume * fixed: seeking in a multiangle feature briefly showed the wrong angle
author mroi
date Thu, 20 Feb 2003 15:32:21 +0000
parents 293bb1798e86
children 3bfaec0c1288
line wrap: on
line diff
--- a/read_cache.c	Mon Jan 13 13:33:45 2003 +0000
+++ b/read_cache.c	Thu Feb 20 15:32:21 2003 +0000
@@ -106,13 +106,13 @@
 
 #ifdef __GNUC__
 # if READ_CACHE_TRACE
-#  define dprintf(fmt, args...) fprintf(MSG_OUT, "libdvdnav: %s: "fmt,  __func__ , ## arg
+#  define dprintf(fmt, args...) fprintf(MSG_OUT, "libdvdnav: %s: "fmt,  __func__ , ## args)
 # else
 #  define dprintf(fmt, args...) /* Nowt */
 # endif
 #else
 # if READ_CACHE_TRACE
-#  define dprintf(fmt, ...) fprintf(MSG_OUT, "libdvdnav: %s: "fmt,  __func__ , __VA_ARGS_
+#  define dprintf(fmt, ...) fprintf(MSG_OUT, "libdvdnav: %s: "fmt,  __func__ , __VA_ARGS__)
 # else
 #  define dprintf(fmt, ...) /* Nowt */
 # endif
@@ -284,7 +284,7 @@
   pthread_mutex_unlock(&self->cache_lock);
 }
 
-/* This function will do the cache read once implemented */
+/* This function will do the cache read */
 int dvdnav_read_cache_block( read_cache_t *self, int sector, size_t block_count, uint8_t **buf) {
   int result, diff;