From d4ff9c6fa7e67b4cea1d1595b3b7453886fe7063 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Wed, 10 Aug 2016 09:13:47 +0200 Subject: [PATCH] Fix audio decoding for verbs. --- MP42/MP42AudioDecoder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MP42/MP42AudioDecoder.m b/MP42/MP42AudioDecoder.m index fcc2426..ea81e8a 100644 --- a/MP42/MP42AudioDecoder.m +++ b/MP42/MP42AudioDecoder.m @@ -424,7 +424,7 @@ static inline void enqueue(MP42AudioDecoder *self, MP42SampleBuffer *outSample) } else { decode(_context, sampleBuffer, &outSample); - if (_context->configured == NO) { + if (_context->configured == NO && outSample) { [_outputUnit reconfigure]; _context->configured = YES; }