File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 33 *
44 * Created on: Oct 26.2018
55 *
6- * Version 3.0.7a
7- * Updated on: Nov 11 .2023
6+ * Version 3.0.7b
7+ * Updated on: Nov 27 .2023
88 * Author: Wolle (schreibfaul1)
99 *
1010 */
@@ -1583,10 +1583,10 @@ int Audio::read_ID3_Header(uint8_t *data, size_t len) {
15831583 }
15841584 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
15851585 if (m_controlCounter == 5 ){ // If the frame is larger than 512 bytes, skip the rest
1586- if (framesize > 512 ){
1587- framesize -= 512 ;
1588- remainingHeaderBytes -= 512 ;
1589- return 512 ;
1586+ if (framesize > 1024 ){
1587+ framesize -= 1024 ;
1588+ remainingHeaderBytes -= 1024 ;
1589+ return 1024 ;
15901590 }
15911591 else {
15921592 m_controlCounter = 3 ; // check next frame
@@ -1628,7 +1628,7 @@ int Audio::read_ID3_Header(uint8_t *data, size_t len) {
16281628 }
16291629
16301630 size_t fs = framesize;
1631- if (fs >512 ) fs = 512 ;
1631+ if (fs >1024 ) fs = 1024 ;
16321632 for (int i=0 ; i<fs; i++){
16331633 m_ibuff[i] = *(data + i);
16341634 }
You can’t perform that action at this time.
0 commit comments