1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/audio/filter
wm4 b2b1b848da af_lavrresample: fix crash with size 0
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.
2014-09-15 23:14:19 +02:00
..
af_bs2b.c Add more const 2014-06-11 00:39:14 +02:00
af_center.c Add more const 2014-06-11 00:39:14 +02:00
af_channels.c Add more const 2014-06-11 00:39:14 +02:00
af_convert24.c Add more const 2014-06-11 00:39:14 +02:00
af_convertsignendian.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
af_delay.c Add more const 2014-06-11 00:39:14 +02:00
af_drc.c Add more const 2014-06-11 00:39:14 +02:00
af_dummy.c Add more const 2014-06-11 00:39:14 +02:00
af_equalizer.c Add more const 2014-06-11 00:39:14 +02:00
af_export.c Add more const 2014-06-11 00:39:14 +02:00
af_extrastereo.c Add more const 2014-06-11 00:39:14 +02:00
af_format.c Add more const 2014-06-11 00:39:14 +02:00
af_hrtf.c af_hrtf: request required samplerate, instead of erroring out 2014-09-05 20:49:35 +02:00
af_hrtf.h
af_karaoke.c Add more const 2014-06-11 00:39:14 +02:00
af_ladspa.c Add more const 2014-06-11 00:39:14 +02:00
af_lavcac3enc.c af_lavcac3enc: lower minimum channel number to 3 2014-08-12 23:45:41 +02:00
af_lavfi.c Improve setting AVOptions 2014-08-02 03:12:33 +02:00
af_lavrresample.c af_lavrresample: fix crash with size 0 2014-09-15 23:14:19 +02:00
af_pan.c Add more const 2014-06-11 00:39:14 +02:00
af_scaletempo.c Add more const 2014-06-11 00:39:14 +02:00
af_sinesuppress.c Add more const 2014-06-11 00:39:14 +02:00
af_sub.c Add more const 2014-06-11 00:39:14 +02:00
af_surround.c Add more const 2014-06-11 00:39:14 +02:00
af_sweep.c Add more const 2014-06-11 00:39:14 +02:00
af_volume.c af_volume: fix calculations including replay-gain 2014-06-28 15:56:16 +02:00
af.c audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
af.h audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
dsp.h
equalizer.h
filter.c
filter.h
tools.c
window.c
window.h