diff options
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
558 | static size_t audio_talkbuf_init(char *bufstart) | 558 | static size_t audio_talkbuf_init(char *bufstart) |
559 | { | 559 | { |
560 | size_t ret = talkbuf_init(bufstart); | 560 | size_t ret = talkbuf_init(bufstart); |
561 | if (bufstart > (size_t)audiobuflen) /* does the voice even fit? */ | 561 | if (ret > (size_t)audiobuflen) /* does the voice even fit? */ |
562 | { | 562 | { |
563 | talk_buffer_steal(); | 563 | talk_buffer_steal(); |
564 | return 0; | 564 | return 0; |