History

mp3dec_ex: call mp3dec_ex_close() on test exit

lieff committed 6 years ago

Commit 1b8bd7b1 parent 7a0f2ef1 file · +1 −0Browse files

Unified · Split

minimp3_test.c+1−0
@@ -136,6 +136,7 @@ static void decode_file(const char *input_file_name, const unsigned char *buf_re · 135 unmodified lines
136136 mp3dec_ex_seek(&dec, position);
137137 }
138138 mp3dec_ex_read(&dec, info.buffer, info.samples);
139+ mp3dec_ex_close(&dec);
139140 } else
140141 {
141142 printf("error: unknown mode");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t