diff options
author | wm4 <wm4@nowhere> | 2015-02-12 09:47:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-12 09:47:01 +0100 |
commit | 371e5d066585015b7297d9677eb9e119f3191690 (patch) | |
tree | 3128a2ba2ac7210bd1936c61e96fb54fb715e37b /sub | |
parent | 2dc49ea866471d9fb90c5f2276c2c40bcf2473ac (diff) | |
download | mpv-371e5d066585015b7297d9677eb9e119f3191690.tar.bz2 mpv-371e5d066585015b7297d9677eb9e119f3191690.tar.xz |
af_rubberband: fix filter error deadlock
rubberband_available() can return a negative value, which we assigned to
a size_t variable, leading to the frame allocation to fail. This could
spam "Error filtering frame.". (That it spams this instead of exiting
should probably also be considered a bug.)
At least in the realtime mode and in our case, a negative return value
should not have any different meaning from a 0 return value, in
particular because we call rubberband_get_samples_required() or set the
"final" parameter for rubberband_process() to continue/stop processing.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions