summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-19 22:27:15 +0200
committerwm4 <wm4@nowhere>2016-08-19 22:27:15 +0200
commit23993e91f37f2b15eb1a1103b2444a38b6bd66d3 (patch)
treea78edb25160d97b5571e3a1ea7298d0215c4daf5 /options/options.c
parent68dc869d6aa8eb7004e2f86e9e4dcbf203ae6a8c (diff)
downloadmpv-23993e91f37f2b15eb1a1103b2444a38b6bd66d3.tar.bz2
mpv-23993e91f37f2b15eb1a1103b2444a38b6bd66d3.tar.xz
af_lavrresample: fix error if resampler could not be recreated
There are situations where the resampler is destroyed and recreated during playback. If recreating the resampler unexpectedly fails, the filter function is supposed to return an error. This wasn't done correctly, because get_out_samples() accessed the resampler before the check. Move the check up to fix this.
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions