diff --git a/Plugins/MAD/MADDecoder.m b/Plugins/MAD/MADDecoder.m index 621b3e55f..82e77bbb3 100644 --- a/Plugins/MAD/MADDecoder.m +++ b/Plugins/MAD/MADDecoder.m @@ -631,6 +631,7 @@ if(_outputBuffer) { free(_outputBuffer); _outputBuffer = NULL; + _currentOutputFrames = 0; } mad_synth_finish(&_synth);