Fixed Ogg chained streams which I broke with the previous commit

This commit is contained in:
Chris Moeller 2013-10-18 05:56:41 -07:00
parent 8c80981827
commit 5b13ee3f97

View file

@ -141,8 +141,7 @@
[self writeData:inputBuffer amount:amountInBuffer]; [self writeData:inputBuffer amount:amountInBuffer];
amountInBuffer = 0; amountInBuffer = 0;
} }
else
if (framesRead < framesToRead)
{ {
if (initialBufferFilled == NO) { if (initialBufferFilled == NO) {
[controller initialBufferFilled:self]; [controller initialBufferFilled:self];