summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2006-02-12 02:24:37 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2006-02-12 02:24:37 +0000
commit6df84c3ad484bdc0c295c883f013b6a899d55f66 (patch)
treead744400a4e855b33a7fa13e398538a9b3d9c72a
parentaafaeabb47416fdb264205086c0c272a926b95cb (diff)
10l, fails to compile when debug enabled
Originally committed as revision 4998 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/asf.c2
-rw-r--r--libavformat/mov.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index a3edf77c63..b0d037089c 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -71,7 +71,7 @@ static void print_guid(const GUID *g)
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)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5a2a0fe811..06a0bfd3b5 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2230,7 +2230,7 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
// 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