Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.

This commit is contained in:
Diego Biurrun
2011-06-06 00:53:31 +02:00
parent f8ea0eb6ff
commit 1f6b9cc31d
4 changed files with 5 additions and 17 deletions

View File

@ -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",