From 42a1a76efe43392f37abdac1259b392fee49c3e8 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 29 May 2004 12:05:49 +0000 Subject: fix TIcho's seeking while paused bug git-svn-id: https://svn.musicpd.org/mpd/trunk@1225 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/mp4_decode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mp4_decode.c') diff --git a/src/mp4_decode.c b/src/mp4_decode.c index 71ae21d5e..e83200451 100644 --- a/src/mp4_decode.c +++ b/src/mp4_decode.c @@ -26,6 +26,7 @@ #include "log.h" #include "pcm_utils.h" #include "inputStream.h" +#include "outputBuffer.h" #include "mp4ff/mp4ff.h" @@ -279,7 +280,7 @@ int mp4_decode(OutputBuffer * cb, DecoderControl * dc) { sampleBuffer+=offset*channels*2; - sendDataToOutputBuffer(cb, NULL, dc, sampleBuffer, + sendDataToOutputBuffer(cb, NULL, dc, 1, sampleBuffer, sampleBufferLen, time, bitRate); if(dc->stop) { eof = 1; -- cgit v1.2.3