changeset 949:0566e2d915ef libavformat

10l, fails to compile when debug enabled
author alex
date Sun, 12 Feb 2006 02:24:37 +0000
parents 1e766711e6c8
children 3a64595e57be
files asf.c mov.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/asf.c	Sun Feb 12 02:18:37 2006 +0000
+++ b/asf.c	Sun Feb 12 02:24:37 2006 +0000
@@ -71,7 +71,7 @@
         printf(" 0x%02x,", g->v4[i]);
     printf("}\n");
 }
-#undef PRINT_IF_GUID(g,cmp)
+#undef PRINT_IF_GUID
 #endif
 
 static void get_guid(ByteIOContext *s, GUID *g)
--- a/mov.c	Sun Feb 12 02:18:37 2006 +0000
+++ b/mov.c	Sun Feb 12 02:24:37 2006 +0000
@@ -2230,7 +2230,7 @@
 
     // Step 2. Find the corresponding sample using the Time-to-sample atom (stts) */
 #ifdef DEBUG
-  av_log(s, AV_LOG_DEBUG, "Searching for time %li in stream #%i (time_scale=%i)\n", (long)timestamp, mov_idx, sc->time_scale);
+  av_log(s, AV_LOG_DEBUG, "Searching for time %li in stream #%i (time_scale=%i)\n", (long)sample_time, mov_idx, sc->time_scale);
 #endif
     start_time = 0; // FIXME use elst atom
     sample = 1; // sample are 0 based in table