From 66e81554621cf700f88a9482b2e55bf797229fbc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 26 Oct 2008 00:26:20 +0200 Subject: Fix missing encoding of last frame --- sbc/sbcdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbc/sbcdec.c') diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c index 5ac02b44..5029d317 100644 --- a/sbc/sbcdec.c +++ b/sbc/sbcdec.c @@ -170,8 +170,7 @@ static void decode(char *filename, char *output, int tofile) * length of the file (!) */ pos += framelen; framelen = sbc_decode(&sbc, stream + pos, streamlen - pos, - buf + count, sizeof(buf) - count, - &len); + buf + count, sizeof(buf) - count, &len); } if (count > 0) { -- cgit