aboutsummaryrefslogtreecommitdiffstats
path: root/src/aac_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-21 22:31:07 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-21 22:31:07 +0000
commit547e358796b9d82041b94f18f9ddcb972b8f1e7e (patch)
treea9a49eb760ebf7d3f77f2dffac74902996574b95 /src/aac_decode.c
parentaea1ae9b9ec6d2e8d00d11ee59047a8e71afe123 (diff)
downloadmpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.tar.gz
mpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.tar.xz
mpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.zip
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
Diffstat (limited to 'src/aac_decode.c')
-rw-r--r--src/aac_decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aac_decode.c b/src/aac_decode.c
index b0b1697b5..22a1db51d 100644
--- a/src/aac_decode.c
+++ b/src/aac_decode.c
@@ -362,8 +362,8 @@ int aac_decode(OutputBuffer * cb, DecoderControl * dc) {
sampleBufferLen = sampleCount*2;
- sendDataToOutputBuffer(cb,dc,sampleBuffer,sampleBufferLen,
- time,bitRate);
+ sendDataToOutputBuffer(cb, NULL, dc, sampleBuffer,
+ sampleBufferLen, time, bitRate);
if(dc->seek) dc->seek = 0;
else if(dc->stop) {
eof = 1;