diff options
Diffstat (limited to 'src/input/input_cdda.c')
-rw-r--r-- | src/input/input_cdda.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |