mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
b2b1b848da
The filter output size can be 0. Due to how filtering works, this is nothing unusual, but avresample_convert() will return 0. The same case is already handling with "normal" resampling (this commit fixes the reordering code). Additionally, don't use an assert(). avresample_convert() failing is unusual, but might also happen due to e.g. internal out of memory conditions, so we shouldn't just crash on it. Curiously observed with --ao=oss --audio-channels=5.1 when changing speed. |
||
---|---|---|
.. | ||
af_bs2b.c | ||
af_center.c | ||
af_channels.c | ||
af_convert24.c | ||
af_convertsignendian.c | ||
af_delay.c | ||
af_drc.c | ||
af_dummy.c | ||
af_equalizer.c | ||
af_export.c | ||
af_extrastereo.c | ||
af_format.c | ||
af_hrtf.c | ||
af_hrtf.h | ||
af_karaoke.c | ||
af_ladspa.c | ||
af_lavcac3enc.c | ||
af_lavfi.c | ||
af_lavrresample.c | ||
af_pan.c | ||
af_scaletempo.c | ||
af_sinesuppress.c | ||
af_sub.c | ||
af_surround.c | ||
af_sweep.c | ||
af_volume.c | ||
af.c | ||
af.h | ||
dsp.h | ||
equalizer.h | ||
filter.c | ||
filter.h | ||
tools.c | ||
window.c | ||
window.h |