Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinite loop in mix_source_buffer() in case of uneven input buffer
This fixes a potential infinite loop, which may occur in two cases: 1. If remaining data in the input is less than `bufferframesize`, in such case `bytesput` resulted in 0, and src->offset never advanced. 2. If remaining data's size is not evenly divided by sizeof(float), the data pointer again will not advance to the end.
- Loading branch information