summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-06 00:53:31 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-07 13:20:58 +0200
commit1f6b9cc31d086860c7a7887685bed321fe3843f4 (patch)
tree255e95c24141197df11f2e837950e1d172423e17 /ffplay.c
parentf8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2 (diff)
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ffplay.c b/ffplay.c
index e036bbdf94..4ccad0618d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -56,9 +56,6 @@
const char program_name[] = "ffplay";
const int program_birth_year = 2003;
-//#define DEBUG
-//#define DEBUG_SYNC
-
#define MAX_QUEUE_SIZE (15 * 1024 * 1024)
#define MIN_AUDIOQ_SIZE (20 * 16 * 1024)
#define MIN_FRAMES 5
@@ -2056,7 +2053,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
n = 2 * dec->channels;
is->audio_clock += (double)data_size /
(double)(n * dec->sample_rate);
-#if defined(DEBUG_SYNC)
+#ifdef DEBUG
{
static double last_clock;
printf("audio: delay=%0.3f clock=%0.3f pts=%0.3f\n",