summaryrefslogtreecommitdiffstats
path: root/libhb/audio_resample.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-07-30 21:46:19 +0000
committerRodeo <[email protected]>2012-07-30 21:46:19 +0000
commitdbec0d898d37f3b9a1fed8158543115fbdb3ce91 (patch)
tree0ae4ac5c6abd7df19c3c98fc4542f3b7babf9a4d /libhb/audio_resample.c
parenta7b437ed6d5605a1c8e2150f265e95803cd26637 (diff)
Bump Libav to v0.8-2551-gc83f44d.
Fixes an issue in assembly code that could result in very poor performance when encoding with x264 & AC3 Passthru. Thanks to our John Stebbins for finding the cause of the bug, and to x264 & Libav developers for fixing it. Miscellaneous other fixes and improvements, including multichannel Apple Lossless audio decoding support. Also, clean up our Libav configure options (group things together, disable all hardware accelerations with one switch instead of individually, and disable building the unused avfilter library). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4883 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/audio_resample.c')
-rw-r--r--libhb/audio_resample.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libhb/audio_resample.c b/libhb/audio_resample.c
index 21a831d3e..3f67da87c 100644
--- a/libhb/audio_resample.c
+++ b/libhb/audio_resample.c
@@ -78,9 +78,6 @@ int hb_audio_resample_update(hb_audio_resample_t *resample,
avresample_close(resample->avresample);
}
- if (av_get_bytes_per_sample(new_sample_fmt) <= 2)
- av_opt_set_int(resample->avresample, "internal_sample_fmt",
- AV_SAMPLE_FMT_S16P, 0);
av_opt_set_int(resample->avresample, "in_sample_fmt",
new_sample_fmt, 0);
av_opt_set_int(resample->avresample, "in_channel_layout",