Skip to content

Commit 1fd8a48

Browse files
committed
OpusAudioDecoder: initialize dec to nullptr
1 parent c83bb62 commit 1fd8a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/AudioCodecs/CodecOpus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ class OpusAudioDecoder : public AudioDecoder {
221221

222222
protected:
223223
Print *p_print = nullptr;
224+
OpusDecoder *dec = nullptr;
224225
OpusSettings cfg;
225-
OpusDecoder *dec;
226226
bool active = false;
227227
Vector<uint8_t> outbuf{0};
228228
Vector<uint8_t> decbuf{0};

0 commit comments

Comments
 (0)