From 03b189ffdbc3f8cab26decb1aa0a0f2dc5b2e5a0 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 1 Nov 2001 19:47:06 +0000 Subject: [PATCH] fix ..._process_metadata() to return correctly from a READ_FRAME state --- src/libFLAC/stream_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index 29bb6a9..fa8a9fb 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -430,7 +430,8 @@ FLAC__bool FLAC__stream_decoder_process_metadata(FLAC__StreamDecoder *decoder) break; case FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC: return true; - break; + case FLAC__STREAM_DECODER_READ_FRAME: + return true; case FLAC__STREAM_DECODER_END_OF_STREAM: return true; default: -- 2.7.4