Mercurial > libdvdnav.hg
changeset 49:a51b406b3c40 src
Fix macro (my 2.95.3 don't accept it).
author | f1rmb |
---|---|
date | Sun, 30 Jun 2002 16:02:55 +0000 |
parents | 9030797161f0 |
children | 578ce1d41479 |
files | read_cache.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/read_cache.c Wed Jun 26 14:59:48 2002 +0000 +++ b/read_cache.c Sun Jun 30 16:02:55 2002 +0000 @@ -83,7 +83,7 @@ #define _MT_TRACE 1 #if _MT_TRACE -#define dprintf(fmt, args...) fprintf(stderr, "%s: " fmt, __FUNCTION__, ##args); +#define dprintf(fmt, args...) fprintf(stderr, "%s: "fmt, ##__FUNCTION__##, ##args); #else #define dprintf(fmt, args...) /* Nowt */ #endif @@ -384,9 +384,9 @@ * This is so that fewer realloc's happen if at all. */ if (self->cache_buffer) { - if( block_count > self->cache_malloc_size) { + if(block_count > self->cache_malloc_size) { self->cache_buffer = realloc(self->cache_buffer, block_count * DVD_VIDEO_LB_LEN); - dprintf("libdvdnav:read_cache:pre_cache DVD read realloc happened\n"); + dprintf("libdvdnav:read_cache:pre_cache DVD read realloc happened\n"); self->cache_malloc_size = block_count; } } else {