File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/AudioTools/AudioCodecs Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class VorbisDecoder : public StreamingDecoder {
4141
4242 callbacks.read_func = read_func;
4343 callbacks.seek_func = seek_func;
44- callbacks.close_func = close_func ;
44+ callbacks.close_func = nullptr ;
4545 callbacks.tell_func = tell_func;
4646
4747 if (p_input->available ()>=VORBIS_HEADER_OPEN_LIMIT){
@@ -171,11 +171,11 @@ class VorbisDecoder : public StreamingDecoder {
171171 return -1 ;
172172 }
173173
174- static int close_func (void *datasource) {
175- VorbisDecoder *self = (VorbisDecoder *)datasource;
176- self->end ();
177- return 0 ;
178- }
174+ // static int close_func(void *datasource) {
175+ // VorbisDecoder *self = (VorbisDecoder *)datasource;
176+ // self->end();
177+ // return 0;
178+ // }
179179
180180 const char * readError (long error){
181181 if (error>=0 ){
You can’t perform that action at this time.
0 commit comments