From 79ffd047fff7317d902d2120d80a2b45ac766d77 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 6 Nov 2011 12:07:33 +0000 Subject: Fix warning and typos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30912 a1c6a512-1295-4272-9138-f99709370657 --- apps/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/mpeg.c') diff --git a/apps/mpeg.c b/apps/mpeg.c index 428f758f83..ae33ccc1bf 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c @@ -558,7 +558,7 @@ static struct buflib_callbacks ops = { static size_t audio_talkbuf_init(char *bufstart) { size_t ret = talkbuf_init(bufstart); - if (bufstart > (size_t)audiobuflen) /* does the voice even fit? */ + if (ret > (size_t)audiobuflen) /* does the voice even fit? */ { talk_buffer_steal(); return 0; -- cgit v1.2.3