diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-06 00:53:31 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-07 13:20:58 +0200 |
commit | 1f6b9cc31d086860c7a7887685bed321fe3843f4 (patch) | |
tree | 255e95c24141197df11f2e837950e1d172423e17 /ffplay.c | |
parent | f8ea0eb6ff5719a3ff2a60454dd0a2b07aa6dbe2 (diff) | |
download | ffmpeg-1f6b9cc31d086860c7a7887685bed321fe3843f4.tar.gz |
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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", |