From 547e358796b9d82041b94f18f9ddcb972b8f1e7e Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Fri, 21 May 2004 22:31:07 +0000 Subject: do input buffering in while sleeping loop of sending stuff to output buffer git-svn-id: https://svn.musicpd.org/mpd/trunk@1125 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/mp4_decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mp4_decode.c') diff --git a/src/mp4_decode.c b/src/mp4_decode.c index f837bdacd..71ae21d5e 100644 --- a/src/mp4_decode.c +++ b/src/mp4_decode.c @@ -279,8 +279,8 @@ int mp4_decode(OutputBuffer * cb, DecoderControl * dc) { sampleBuffer+=offset*channels*2; - sendDataToOutputBuffer(cb,dc,sampleBuffer, - sampleBufferLen,time,bitRate); + sendDataToOutputBuffer(cb, NULL, dc, sampleBuffer, + sampleBufferLen, time, bitRate); if(dc->stop) { eof = 1; break; -- cgit v1.2.3