summaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-03-25 09:50:24 -0400
committersfan5 <sfan5@live.de>2024-03-28 16:16:43 +0100
commit7ab1080749b02e3e545166e67528c6a039e04969 (patch)
tree0561f466345839eab8ef61aaa0d06250afd65391 /libswscale/Makefile
parentf4a7931c534158d254a4a36f289494c1de6a16b9 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
af_scaletempo2: fix false reporting of frame availabilityHEADmaster
With certain speed settings, the following can happen at the start of the playback: - can_perform_wsola returns false, so no frames are written - mp_scaletempo2_frames_available returns true when p->input_buffer_final_frames is 0 and target_block_index < 0 This results in infinite loop and completely stalls audio filter processing and playback. Fix this by only checking this condition after the final frame is set. Fixes: 8080d00d7f31a0e1ba25418e0f08474f1a2f1f61
Diffstat (limited to 'libswscale/Makefile')
0 files changed, 0 insertions, 0 deletions