diff decoders/mpglib.c @ 263:cde06af563f7

Fix for EOF.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 21 Feb 2002 19:55:23 +0000
parents 9b6e82f7c853
children 9b89bb587f8f
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)
             {