oss: fix input buffer overrun [bug #300]
commit342d3e71fc197e1dfb45f7dd84ee734ad0a8f79d
authorMans Rullgard <mans@mansr.com>
Thu, 26 Apr 2018 18:31:10 +0000 (26 19:31 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 29 Apr 2018 18:22:54 +0000 (29 19:22 +0100)
tree72c120f6f18cd491db68bc6237133dd2bff074b2
parent9923bcf0b70bc292f74b69df85c0ef0bff9a3c31
oss: fix input buffer overrun [bug #300]

Each iteration of the write loop should only read the remaining number
of samples, not the full input buffer size.
src/oss.c