diff --git a/ffplay.c b/ffplay.c index 6a9349e538bcc4c19f7e809cf237372d5a0d41cb..42f03b860b5c6ce8e281bf3a59dd33641fefbe1d 100644 --- a/ffplay.c +++ b/ffplay.c @@ -82,7 +82,8 @@ const int program_birth_year = 2003; #define AUDIO_DIFF_AVG_NB 20 /* NOTE: the size must be big enough to compensate the hardware audio buffersize size */ -#define SAMPLE_ARRAY_SIZE (2 * 65536) +/* TODO: We assume that a decoded and resampled frame fits into this buffer */ +#define SAMPLE_ARRAY_SIZE (8 * 65536) static int sws_flags = SWS_BICUBIC;