Hi
I am trying to decode a mp3-file 100kB at a time. My problem is that with each new block some errors occur "Huffman data overrun" "bad main_data_begin pointer" "lost synchronization"
I'm not familiar with the mp3-format structure but i guess that the data in the file should be sent to the decoder in complete blocks. I was hoping that the decoder would save incomplete data from the end of the previous buffer sent and join them with the next buffer sent. But it isn't ?
So if I want to decode small blocks of the file. If I look through the file and only send complete blocks of data to the decoder. Will this solve my problem? Is it the way it is supposed to work?
Peter Hultqvist peter.hultqvist@neocoder.net 2004-06-27, 16:54:17