shithub: mp3dec

Download patch

ref: 962758a53a845f32631083e6b45cd6ead053403b
parent: de6b040c466c6f0323f0391eacc8d8b4c8cb9fe9
author: lieff <[email protected]>
date: Wed Jan 10 13:10:37 EST 2018

test fix

--- a/minimp3.c
+++ b/minimp3.c
@@ -1660,7 +1660,7 @@
 {
     static mp3dec_t mp3d = { 0, };
     mp3dec_frame_info_t info;
-    int i, data_bytes, samples, total_samples, nbuf = 0;
+    int i, data_bytes, samples, total_samples = 0, nbuf = 0;
     double MSE = 0.0, MSEtemp, psnr;
     unsigned char buf[4096];