changeset 263:cde06af563f7

Fix for EOF.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 21 Feb 2002 19:55:23 +0000
parents 6fe6de401b63
children abe472572e38
files decoders/mpglib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/mpglib.c	Thu Feb 21 19:46:55 2002 +0000
+++ b/decoders/mpglib.c	Thu Feb 21 19:55:23 2002 +0000
@@ -223,7 +223,7 @@
                 return(bw);
             } /* else if */
 
-            rc = decodeMP3(&mpg->mp, mpg->inbuf, sizeof (mpg->inbuf),
+            rc = decodeMP3(&mpg->mp, mpg->inbuf, rc,
                            mpg->outbuf, sizeof (mpg->outbuf), &mpg->outleft);
             if (rc == MP3_ERR)
             {