diff options
author | jstebbins <[email protected]> | 2011-06-07 22:35:54 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-06-07 22:35:54 +0000 |
commit | 1e92c150aac42a8cd6e8c12b10494d9a1f42796e (patch) | |
tree | 177523c63a4023a4393805358624af72e4e91bbb /libhb/decavcodec.c | |
parent | d40287132815adc74a0d1444a1e7b76e89879f69 (diff) |
fix up usage of deprecated libav symbols and clean up patch fuzz
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4030 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index f41ad239d..fd7d24f14 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -1583,7 +1583,7 @@ static void decodeAudio( hb_audio_t * audio, hb_work_private_t *pv, uint8_t *dat int isamp; AVAudioConvert *ctx; - isamp = av_get_bits_per_sample_fmt( context->sample_fmt ) / 8; + isamp = av_get_bytes_per_sample( context->sample_fmt ); ctx = av_audio_convert_alloc( AV_SAMPLE_FMT_FLT, 1, context->sample_fmt, 1, NULL, 0 ); |