aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 1440fc27..964f1318 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -396,7 +396,6 @@ decoder_run_song(struct decoder_control *dc,
? tag_dup(song->tag) : NULL;
decoder.stream_tag = NULL;
decoder.decoder_tag = NULL;
- decoder.chunk = NULL;
dc->state = DECODE_STATE_START;
@@ -412,11 +411,6 @@ decoder_run_song(struct decoder_control *dc,
pcm_convert_deinit(&decoder.conv_state);
- /* flush the last chunk */
-
- if (decoder.chunk != NULL)
- decoder_flush_chunk(&decoder);
-
if (decoder.song_tag != NULL)
tag_free(decoder.song_tag);