diff options
author | John Stebbins <[email protected]> | 2017-07-06 11:42:25 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-07-06 11:42:25 -0700 |
commit | f002cf7ad405b93c5bc52e3f12c960c4514b7957 (patch) | |
tree | 26b8b9a9734a607187af70198bb12aaddb3e6d95 /libhb/encavcodecaudio.c | |
parent | 532f067cca2113ea289282ea57e594efab5ba2a0 (diff) |
fix another use of deprecated libav define
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r-- | libhb/encavcodecaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |