mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
This commit is contained in:
5
ffplay.c
5
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",
|
||||
|
||||
Reference in New Issue
Block a user