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 {
41
41
42
42
callbacks.read_func = read_func;
43
43
callbacks.seek_func = seek_func;
44
- callbacks.close_func = close_func ;
44
+ callbacks.close_func = nullptr ;
45
45
callbacks.tell_func = tell_func;
46
46
47
47
if (p_input->available ()>=VORBIS_HEADER_OPEN_LIMIT){
@@ -171,11 +171,11 @@ class VorbisDecoder : public StreamingDecoder {
171
171
return -1 ;
172
172
}
173
173
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
+ // }
179
179
180
180
const char * readError (long error){
181
181
if (error>=0 ){
You can’t perform that action at this time.
0 commit comments