diff options
author | John Stebbins <[email protected]> | 2018-06-14 17:20:58 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-06-27 10:34:38 -0700 |
commit | e7b1636fca20d91241ff3e1c12919a3123d05daf (patch) | |
tree | 67866cef1b93620d50832daed5fdde75280b5450 /libhb/declpcm.c | |
parent | b25af79e205c55f9f09b93a88e3f4f7cc18acb8c (diff) |
audio_resample: switch from avresample to swresample
Eliminates deprecation warnings for avresample
Diffstat (limited to 'libhb/declpcm.c')
-rw-r--r-- | libhb/declpcm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/declpcm.c b/libhb/declpcm.c index 88776dedf..853bbd0d9 100644 --- a/libhb/declpcm.c +++ b/libhb/declpcm.c @@ -338,7 +338,8 @@ static hb_buffer_t *Decode( hb_work_object_t *w ) hb_log("declpcm: hb_audio_resample_update() failed"); return NULL; } - out = hb_audio_resample(pv->resample, &pv->data, pv->nsamples); + out = hb_audio_resample(pv->resample, (const uint8_t **)&pv->data, + pv->nsamples); if (out != NULL) { |