shithub: mp3dec

Download patch

ref: 1b8bd7b45ca6007843da02ef5352ff1dd844de02
parent: 7a0f2ef02eb16bfbaa932ff57e9097f861a800a1
author: lieff <lieff@users.noreply.github.com>
date: Tue Feb 4 10:55:33 EST 2020

mp3dec_ex: call mp3dec_ex_close() on test exit

--- a/minimp3_test.c
+++ b/minimp3_test.c
@@ -136,6 +136,7 @@
             mp3dec_ex_seek(&dec, position);
         }
         mp3dec_ex_read(&dec, info.buffer, info.samples);
+        mp3dec_ex_close(&dec);
     } else
     {
         printf("error: unknown mode");