diff options
author | Max Kellermann <max@duempel.org> | 2011-01-07 22:51:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-07 22:52:50 +0100 |
commit | 4c09aeb5a1ac7dbf80af680c18f4e36d4776dc8c (patch) | |
tree | 0c1842bfb866d90c96b9c81d9b774dc679585e4f /src/decoder/flac_decoder_plugin.c | |
parent | af892e7e804ccf96356e8f71239a1bce9616da02 (diff) | |
download | mpd-4c09aeb5a1ac7dbf80af680c18f4e36d4776dc8c.tar.gz mpd-4c09aeb5a1ac7dbf80af680c18f4e36d4776dc8c.tar.xz mpd-4c09aeb5a1ac7dbf80af680c18f4e36d4776dc8c.zip |
player_thread: fix assertion failure due to early seek
Until the decoder plugin has called decoder_initialized(), the player
may not submit seek commands. This however could occur with a slow
decoder and a CUE file with a virtual song offset. This patch adds
another check.
Diffstat (limited to 'src/decoder/flac_decoder_plugin.c')
0 files changed, 0 insertions, 0 deletions