summaryrefslogtreecommitdiff
path: root/swfdec/swfdec_audio_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'swfdec/swfdec_audio_decoder.c')
-rw-r--r--swfdec/swfdec_audio_decoder.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/swfdec/swfdec_audio_decoder.c b/swfdec/swfdec_audio_decoder.c
index c0b666bd..72be7326 100644
--- a/swfdec/swfdec_audio_decoder.c
+++ b/swfdec/swfdec_audio_decoder.c
@@ -83,8 +83,6 @@ swfdec_audio_decoder_prepare (guint codec, SwfdecAudioFormat format, char **miss
* swfdec_audio_decoder_new:
* @codec: codec id
* @format: #SwfdecAudioCodec to decode
- * @data: setup data for the codec or %NULL for none. Setup data is only
- * required for AAC audio.
*
* Creates a decoder suitable for decoding @format. If no decoder is available
* for the given for mat, %NULL is returned.
@@ -92,7 +90,7 @@ swfdec_audio_decoder_prepare (guint codec, SwfdecAudioFormat format, char **miss
* Returns: a new decoder or %NULL
**/
SwfdecAudioDecoder *
-swfdec_audio_decoder_new (guint codec, SwfdecAudioFormat format, SwfdecBuffer *data)
+swfdec_audio_decoder_new (guint codec, SwfdecAudioFormat format)
{
SwfdecAudioDecoder *ret = NULL;
GSList *walk;
@@ -101,7 +99,7 @@ swfdec_audio_decoder_new (guint codec, SwfdecAudioFormat format, SwfdecBuffer *d
for (walk = audio_codecs; walk; walk = walk->next) {
SwfdecAudioDecoderClass *klass = g_type_class_ref (GPOINTER_TO_SIZE (walk->data));
- ret = klass->create (codec, format, data);
+ ret = klass->create (codec, format);
g_type_class_unref (klass);
if (ret)
break;