]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[core] fix: don't terminate file before max_samples returned 216/head
authorrucc <harangoz@gmail.com>
Thu, 9 Jan 2020 14:32:24 +0000 (15:32 +0100)
committerrucc <harangoz@gmail.com>
Thu, 9 Jan 2020 14:54:42 +0000 (15:54 +0100)
commite90db0d768582db8e728caf58bba307ff5b81962
tree1bd809b62980b726e868a35aede87ca31cbfe823
parent21229ad18f68ee53c5dbbeaa2441037d41a3b0cc
[core] fix: don't terminate file before max_samples returned

if file buffer is considerably bigger than max_samples than keeping track of samples read instead of samples returned might result in a significantly shorter play
src/switch_core_file.c