changeset 358:f11c10ffa31a

Fixed some debug messages.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 11 Jun 2002 23:33:02 +0000
parents b3ac77d08e79
children 2b7969823778
files decoders/mpglib.c decoders/smpeg.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/mpglib.c	Fri Jun 07 23:09:24 2002 +0000
+++ b/decoders/mpglib.c	Tue Jun 11 23:33:02 2002 +0000
@@ -139,10 +139,10 @@
         Uint8 mp3_magic[2];
 
         if (SDL_RWread(internal->rw, mp3_magic, sizeof (mp3_magic), 1) != 1)
-            BAIL_MACRO("MP3: Could not read MP3 magic.", 0);
+            BAIL_MACRO("MPGLIB: Could not read MP3 magic.", 0);
 
         if (mp3_magic[0] != 0xFF || (mp3_magic[1] & 0xF0) != 0xF0)
-            BAIL_MACRO("MP3: Not an MP3 stream.", 0);
+            BAIL_MACRO("MPGLIB: Not an MP3 stream.", 0);
 
             /* If the seek fails, we'll probably miss a frame, but oh well. */
         SDL_RWseek(internal->rw, -sizeof (mp3_magic), SEEK_CUR);
--- a/decoders/smpeg.c	Fri Jun 07 23:09:24 2002 +0000
+++ b/decoders/smpeg.c	Tue Jun 11 23:33:02 2002 +0000
@@ -146,10 +146,10 @@
         Uint8 mp3_magic[2];
 
         if (SDL_RWread(internal->rw, mp3_magic, sizeof (mp3_magic), 1) != 1)
-            BAIL_MACRO("MP3: Could not read MP3 magic.", 0);
+            BAIL_MACRO("SMPEG: Could not read MP3 magic.", 0);
 
         if (mp3_magic[0] != 0xFF || (mp3_magic[1] & 0xF0) != 0xF0)
-            BAIL_MACRO("MP3: Not an MP3 stream.", 0);
+            BAIL_MACRO("SMPEG: Not an MP3 stream.", 0);
 
             /* If the seek fails, we'll probably miss a frame, but oh well */
         SDL_RWseek(internal->rw, -sizeof (mp3_magic), SEEK_CUR);