summaryrefslogtreecommitdiffstats
path: root/etc/input.conf
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-15 23:14:19 +0200
committerwm4 <wm4@nowhere>2014-09-15 23:14:19 +0200
commitb2b1b848da38f6576b2d711eaf86958976b52bde (patch)
treea82a868015945bef68181edd0cc9aa4223c45bf5 /etc/input.conf
parent7c2fb859ab10fa375a38179fd49daac36ab111c8 (diff)
downloadmpv-b2b1b848da38f6576b2d711eaf86958976b52bde.tar.bz2
mpv-b2b1b848da38f6576b2d711eaf86958976b52bde.tar.xz
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.
Diffstat (limited to 'etc/input.conf')
0 files changed, 0 insertions, 0 deletions