diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-23 09:20:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-20 08:56:03 +0100 |
commit | 1b3144727158b18f080732ff35ef1f6a123a946d (patch) | |
tree | 3cff858317d498ffb02e27364d6a2afde53943c3 /src/decoder_thread.c | |
parent | e41776f458722d778b5a0db49816f775ef4f9eee (diff) |
music chunk: switch to AVFrame.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r-- | src/decoder_thread.c | 6 |
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); |