Perhaps your file starts with an ID3 tag, and you're not skipping it. You can use libid3tag to parse them, and skip over to where the MP3 data starts.
Mike Crawford mdcrawford at gmail dot com
On 1/9/07, Shikha Patoria Shikha.Patoria@lntinfotech.com wrote:
hello, i am using mad decoder to decode my MPEG3 file . but every time it is giving me errrors ...
presently i am using a buffer of size (8000) ,but when it decodes the1st frame,it gives me error of lost synchronization. it is not able to find that sync bit ................................................................................................................
can any one help me in this problem. shikha ______________________________________________________________________