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/decavcodec.c | |
parent | b25af79e205c55f9f09b93a88e3f4f7cc18acb8c (diff) |
audio_resample: switch from avresample to swresample
Eliminates deprecation warnings for avresample
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 279b6dcde..16c4e31b8 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -2274,7 +2274,8 @@ static void decodeAudio(hb_work_private_t *pv, packet_info_t * packet_info) av_packet_unref(&avp); return; } - out = hb_audio_resample(pv->resample, pv->frame->extended_data, + out = hb_audio_resample(pv->resample, + (const uint8_t **)pv->frame->extended_data, pv->frame->nb_samples); if (out != NULL && pv->drop_samples > 0) { |