[Swfdec] libswfdec/swfdec_codec_audio.c

Benjamin Otte
Sun, 08 Apr 2007 06:55:20 -0000

libswfdec/swfdec_codec_audio.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

New commits:
diff-tree 4625b650404a4b14c47eaeeb5032bc73d843880d (from
77671cfd4d1ec996179c44389544a0629f811904)
Author: Benjamin Otte <otte@gnome.org>
Date:   Sun Apr 8 15:56:32 2007 +0200

    whoops, use the right identifiers and not the gst identifiers

diff --git a/libswfdec/swfdec_codec_audio.c b/libswfdec/swfdec_codec_audio.c
index 9bd091c..b690524 100644
--- a/libswfdec/swfdec_codec_audio.c
+++ b/libswfdec/swfdec_codec_audio.c
@@ -118,7 +118,7 @@ extern SwfdecAudioDecoderNewFunc swfdec_
 extern SwfdecAudioDecoderNewFunc swfdec_audio_decoder_ffmpeg_new;
 #endif

-#ifdef HAVE_FFMPEG
+#ifdef HAVE_GST
 extern SwfdecAudioDecoderNewFunc swfdec_audio_decoder_gst_new;
 #endif

@@ -141,7 +141,6 @@ swfdec_audio_decoder_new (SwfdecAudioFor
   ret = swfdec_audio_decoder_uncompressed_new (format, width, data_format);
   if (ret == NULL)
     ret = swfdec_audio_decoder_adpcm_new (format, width, data_format);
-#if 0
 #ifdef HAVE_MAD
   if (ret == NULL)
     ret = swfdec_audio_decoder_mad_new (format, width, data_format);
@@ -150,7 +149,6 @@ swfdec_audio_decoder_new (SwfdecAudioFor
   if (ret == NULL)
     ret = swfdec_audio_decoder_ffmpeg_new (format, width, data_format);
 #endif
-#endif
 #ifdef HAVE_GST
   if (ret == NULL)
     ret = swfdec_audio_decoder_gst_new (format, width, data_format);