diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx index 1ad0076ee..d522ab2cf 100644 --- a/src/decoder/plugins/MadDecoderPlugin.cxx +++ b/src/decoder/plugins/MadDecoderPlugin.cxx @@ -1043,10 +1043,8 @@ MadDecoder::Read() } if (!skip && ret == DECODE_OK) - break; + return true; } - - return ret != DECODE_BREAK; } static void