diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 21:12:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 21:12:37 +0200 |
commit | 82059645f18e4a8aa734e0a376d10bb52fc1cc7d (patch) | |
tree | e2d1c113c887cdafe95ec07419150d6b768211b6 /src/decoder/FaadDecoderPlugin.cxx | |
parent | 13e9f18403b98f8123b1b983c4680957d684e47b (diff) | |
download | mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.tar.gz mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.tar.xz mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.zip |
decoder: rename the struct to "Decoder"
Diffstat (limited to '')
-rw-r--r-- | src/decoder/FaadDecoderPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/FaadDecoderPlugin.cxx b/src/decoder/FaadDecoderPlugin.cxx index 4056c73fa..05d929fb4 100644 --- a/src/decoder/FaadDecoderPlugin.cxx +++ b/src/decoder/FaadDecoderPlugin.cxx @@ -357,7 +357,7 @@ faad_get_file_time(struct input_stream *is) } static void -faad_stream_decode(struct decoder *mpd_decoder, struct input_stream *is) +faad_stream_decode(Decoder &mpd_decoder, struct input_stream *is) { float total_time = 0; AudioFormat audio_format; @@ -365,7 +365,7 @@ faad_stream_decode(struct decoder *mpd_decoder, struct input_stream *is) uint16_t bit_rate = 0; DecoderBuffer *buffer; - buffer = decoder_buffer_new(mpd_decoder, is, + buffer = decoder_buffer_new(&mpd_decoder, is, FAAD_MIN_STREAMSIZE * AAC_MAX_CHANNELS); total_time = faad_song_duration(buffer, is); |