mp3 bitstream error
"Grigory A." <[email protected]>
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I am trying to play attached bitstream using mimimad application. and minimad say to me decoding error 0x0235 at byte offset 0 MAD_ERROR_BADDATAPTR = 0x0235, /* bad main_data_begin pointer */ but my winamp play it well. What is the problem? I attach only firs 16 kB of bitstream. in start of file there is a header of 0x240 bytes I "remove" it by simple seeking the file pointer. The problem is located in function int mad_layer_III(MAD_STREAM *stream, MAD_FRAME *frame) but where exactly here error = III_sideinfo(&stream->ptr, nch, header->flags & MAD_FLAG_LSF_EXT, &si, &data_bitlen, &priv_bitlen); or here - // -------- find main_data of this frame ----------- frame_space = stream->next_frame - mad_bit_nextbyte(&stream->ptr); ... I don't know. And one of possibilities is - wrong bitstream? but winamp play it well. So could some one help me understand what is the problem? -- Best regards, Grigory mailto:[email protected]
test_first16k.mp3
(audio/mp3, 16 KB) - not displayed