Lines 120-125
Link Here
|
120 |
} |
120 |
} |
121 |
chunk_type = BE_32(&preamble[0]); |
121 |
chunk_type = BE_32(&preamble[0]); |
122 |
chunk_size = BE_32(&preamble[4]); |
122 |
chunk_size = BE_32(&preamble[4]); |
|
|
123 |
|
124 |
if (chunk_size > sizeof(buffer) / sizeof(buffer[0])) { |
125 |
/* the chunk is too large to fit in the buffer -> this cannot be an aiff chunk */ |
126 |
this->status = DEMUX_FINISHED; |
127 |
return 0; |
128 |
} |
123 |
|
129 |
|
124 |
if (chunk_type == COMM_TAG) { |
130 |
if (chunk_type == COMM_TAG) { |
125 |
if (this->input->read(this->input, buffer, chunk_size) != |
131 |
if (this->input->read(this->input, buffer, chunk_size) != |