diff options
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/player.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/player.c b/src/audio/player.c index 1c8538b4..762cff7a 100644 --- a/src/audio/player.c +++ b/src/audio/player.c | |||
@@ -566,6 +566,9 @@ static iContentSpec contentSpec_Player_(const iPlayer *d) { | |||
566 | stb_vorbis *vrb = stb_vorbis_open_pushdata( | 566 | stb_vorbis *vrb = stb_vorbis_open_pushdata( |
567 | constData_Block(&d->data->data), size_Block(&d->data->data), &consumed, &error, NULL); | 567 | constData_Block(&d->data->data), size_Block(&d->data->data), &consumed, &error, NULL); |
568 | if (!vrb) { | 568 | if (!vrb) { |
569 | if (error != VORBIS_need_more_data) { | ||
570 | content.type = none_DecoderType; | ||
571 | } | ||
569 | return content; | 572 | return content; |
570 | } | 573 | } |
571 | const stb_vorbis_info info = stb_vorbis_get_info(vrb); | 574 | const stb_vorbis_info info = stb_vorbis_get_info(vrb); |