From bc3f44f6677751482a3d4f4d4b885ba6beac4c58 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 10 Aug 2003 16:11:05 +0000 Subject: new patches from Frantisek, cdda fixes/improvements CVS patchset: 5268 CVS date: 2003/08/10 16:11:05 --- src/input/input_cdda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_cdda.c') diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index 847741b46..59a0fda71 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -20,7 +20,7 @@ * Compact Disc Digital Audio (CDDA) Input Plugin * by Mike Melanson (melanson@pcisys.net) * - * $Id: input_cdda.c,v 1.30 2003/06/09 09:55:20 tchamp Exp $ + * $Id: input_cdda.c,v 1.31 2003/08/10 16:11:05 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -2161,7 +2161,7 @@ static buf_element_t *cdda_plugin_read_block (input_plugin_t *this_gen, fifo_buf if (nlen != CD_RAW_FRAME_SIZE) return NULL; - if (this->current_frame >= this->last_frame) + if (this->current_frame > this->last_frame) return NULL; /* populate frame cache */ -- cgit v1.2.3