We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb718dc commit 10973adCopy full SHA for 10973ad
src/AudioTools/AudioCodecs/CodecVorbis.h
@@ -56,10 +56,10 @@ class VorbisDecoder : public StreamingDecoder {
56
/// Releases the reserved memory
57
void end() override {
58
LOGI("end");
59
- active = false;
60
is_ov_open = false;
61
is_first = true;
62
- ov_clear(&file);
+ if (active) ov_clear(&file);
+ active = false;
63
}
64
65
/// Provides the last available MP3FrameInfo
0 commit comments