From f002cf7ad405b93c5bc52e3f12c960c4514b7957 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 6 Jul 2017 11:42:25 -0700 Subject: [PATCH] fix another use of deprecated libav define --- libhb/encavcodecaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c index ad3f7e3f7..e13963292 100644 --- a/libhb/encavcodecaudio.c +++ b/libhb/encavcodecaudio.c @@ -223,7 +223,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job) pv->input_buf = malloc(pv->input_samples * sizeof(float)); // Some encoders in libav (e.g. fdk-aac) fail if the output buffer // size is not some minumum value. 8K seems to be enough :( - pv->max_output_bytes = MAX(FF_MIN_BUFFER_SIZE, + pv->max_output_bytes = MAX(AV_INPUT_BUFFER_MIN_SIZE, (pv->input_samples * av_get_bytes_per_sample(context->sample_fmt))); -- 2.40.0