[Swfdec-commits] Branch '0.8' - test/swfdec_test.c

Benjamin Otte company at kemper.freedesktop.org
Tue Sep 9 10:06:53 PDT 2008


 test/swfdec_test.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ec41abd2e0a025d7ca1e134ab7b943ba14148c11
Author: Benjamin Otte <otte at gnome.org>
Date:   Tue Sep 9 19:03:39 2008 +0200

    properly fail if no MP3 decoder is found

diff --git a/test/swfdec_test.c b/test/swfdec_test.c
index d8db9c8..2da4af0 100644
--- a/test/swfdec_test.c
+++ b/test/swfdec_test.c
@@ -60,6 +60,7 @@ check_codecs (gboolean verbose)
   if (!swfdec_audio_decoder_prepare (SWFDEC_AUDIO_CODEC_MP3,
 	swfdec_audio_format_new (44100, 2, TRUE), NULL)) {
     g_print ("ERROR: MP3 support is not available.\n");
+    return FALSE;
   } else if (verbose) {
     g_print ("   OK: MP3 support is available.\n");
   }


More information about the Swfdec-commits mailing list