diff options
Diffstat (limited to 'src/inputPlugins/aac_plugin.c')
-rw-r--r-- | src/inputPlugins/aac_plugin.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c index 89095ef82..0cbb4c97a 100644 --- a/src/inputPlugins/aac_plugin.c +++ b/src/inputPlugins/aac_plugin.c @@ -337,7 +337,6 @@ static int aac_decode(OutputBuffer * cb, DecoderControl * dc, char *path) if (bread < 0) { ERROR("Error not a AAC stream.\n"); faacDecClose(decoder); - closeInputStream(b.inStream); if (b.buffer) free(b.buffer); return -1; @@ -413,7 +412,6 @@ static int aac_decode(OutputBuffer * cb, DecoderControl * dc, char *path) flushOutputBuffer(cb); faacDecClose(decoder); - closeInputStream(b.inStream); if (b.buffer) free(b.buffer); @@ -425,12 +423,6 @@ static int aac_decode(OutputBuffer * cb, DecoderControl * dc, char *path) dc->seek = 0; } - if (dc->stop) { - dc->state = DECODE_STATE_STOP; - dc->stop = 0; - } else - dc->state = DECODE_STATE_STOP; - return 0; } |