changeset 566:74405e7be04b

Moved SNDDBG output a little later.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 30 Jan 2009 19:54:58 -0500
parents a737d89af74e
children 83fff24e5f71
files decoders/mpg123.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/mpg123.c	Fri Jan 30 19:40:21 2009 -0500
+++ b/decoders/mpg123.c	Fri Jan 30 19:54:58 2009 -0500
@@ -249,8 +249,6 @@
         seekable = 1;
     } /* if */
 
-    SNDDBG(("MPG123: Accepting data stream.\n"));
-
     internal->decoder_private = mp;
     sample->actual.rate = rate;
     sample->actual.channels = channels;
@@ -273,6 +271,8 @@
     else
         goto mpg123_open_failed;
 
+    SNDDBG(("MPG123: Accepting data stream.\n"));
+
     sample->flags = SOUND_SAMPLEFLAG_NONE;
     internal->total_time = -1;
     if (seekable)