ref: 190310fcb959cc600932e4c56b9c86f061760d86
parent: 9eea8134f8214f970ce761b97c4f4fc534f87301
author: lieff <[email protected]>
date: Sun Feb 2 21:02:38 EST 2020
Consume last <= HDR_SIZE bytes. So all stream guaranteed to be consumed before frame_bytes=0 return.
--- a/minimp3.h
+++ b/minimp3.h
@@ -1674,7 +1674,7 @@
}
}
*ptr_frame_bytes = 0;
- return i;
+ return mp3_bytes;
}
void mp3dec_init(mp3dec_t *dec)