From b1a44c094171777b337e383751c9b4d0fc1a5e70 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Tue, 24 Sep 2024 17:50:54 +0200 Subject: [PATCH] AudioDecoder isResultPCM() should return true --- src/AudioCodecs/AudioCodecsBase.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AudioCodecs/AudioCodecsBase.h b/src/AudioCodecs/AudioCodecsBase.h index 683775bb1..a7c2d3bc9 100644 --- a/src/AudioCodecs/AudioCodecsBase.h +++ b/src/AudioCodecs/AudioCodecsBase.h @@ -49,8 +49,7 @@ class AudioDecoder : public AudioWriter, public AudioInfoSource { /// If true, the decoding result is PCM data virtual bool isResultPCM() { - setAudioInfo(info); - return begin(); + return true; } virtual bool begin(AudioInfo info) override { setAudioInfo(info);