ref: 6c2e4aea21b91ade4176eb48f55d731769a92a9e
parent: 35c7326f2a8b651adff2c994ffa2923ab7ad6f03
author: lieff <lieff@users.noreply.github.com>
date: Thu Jan 11 10:57:37 EST 2018
warning fix
--- a/minimp3.h
+++ b/minimp3.h
@@ -1579,6 +1579,11 @@
return i;
}
+void mp3dec_init(mp3dec_t *dec)
+{
+ dec->header[0] = 0;
+}
+
int mp3dec_decode_frame(mp3dec_t *dec, const uint8_t *mp3, int mp3_bytes, short *pcm, mp3dec_frame_info_t *info)
{
int i = 0, igr, frame_size = 0, success = 1;
@@ -1662,10 +1667,5 @@
}
}
return success*hdr_frame_samples(dec->header);
-}
-
-void mp3dec_init(mp3dec_t *dec)
-{
- dec->header[0] = 0;
}
#endif //MINIMP3_IMPLEMENTATION