diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
commit | 0d45870cea6836cd48e6953f4e67756b2502e22c (patch) | |
tree | b869b8bdab13374f21347bd77a32661ddcf74b88 /src/inputPlugins/aac_plugin.c | |
parent | ea51f73285f4aca931c8c7f497838da573f89142 (diff) | |
download | mpd-0d45870cea6836cd48e6953f4e67756b2502e22c.tar.gz mpd-0d45870cea6836cd48e6953f4e67756b2502e22c.tar.xz mpd-0d45870cea6836cd48e6953f4e67756b2502e22c.zip |
added decoder_clear() and decoder_flush()
We are now beginning to remove direct structure accesses from the
decoder plugins. decoder_clear() and decoder_flush() mask two very
common buffer functions.
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/aac_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c index c6bd99850..8765dc21c 100644 --- a/src/inputPlugins/aac_plugin.c +++ b/src/inputPlugins/aac_plugin.c @@ -403,7 +403,7 @@ static int aac_decode(struct decoder * mpd_decoder, char *path) } } - ob_flush(); + decoder_flush(mpd_decoder); faacDecClose(decoder); if (b.buffer) |