diff decoders/mpglib/interface.c @ 400:9d0b5ec9cc26

FIXME cleanups.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 11 Jul 2002 05:28:52 +0000
parents fb519e6028e3
children
line wrap: on
line diff
--- a/decoders/mpglib/interface.c	Thu Jul 11 05:28:33 2002 +0000
+++ b/decoders/mpglib/interface.c	Thu Jul 11 05:28:52 2002 +0000
@@ -226,8 +226,9 @@
 {
   unsigned char *bsbufold;
   if(mp->fsizeold < 0 && backstep > 0) {
-    /* FIXME: need formatting: %ld!\n",backstep); */
-    BAIL_MACRO("MPGLIB: Can't step back!", MP3_ERR);
+    char err[128];
+    snprintf(err, sizeof (err), "MPGLIB: Can't step back! %ld!", backstep);
+    BAIL_MACRO(err, MP3_ERR);
   }
   bsbufold = mp->bsspace[mp->bsnum] + 512;
   wordpointer -= backstep;