Skip to content

Commit b1a44c0

Browse files
committed
AudioDecoder isResultPCM() should return true
1 parent 2e63c96 commit b1a44c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AudioCodecs/AudioCodecsBase.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class AudioDecoder : public AudioWriter, public AudioInfoSource {
4949

5050
/// If true, the decoding result is PCM data
5151
virtual bool isResultPCM() {
52-
setAudioInfo(info);
53-
return begin();
52+
return true;
5453
}
5554
virtual bool begin(AudioInfo info) override {
5655
setAudioInfo(info);

0 commit comments

Comments
 (0)