Hi all ,
we compiled MAD decoder using the High level api giving some chunks of data every time instead of whole file in the input callback.but while compiling most of the times  we are getting errors as
 
decoding error 0x0101 (lost synchronization) at byte offset 522
decoding error 0x0103 (forbidden bitrate value) at byte offset 537
decoding error 0x0103 (forbidden bitrate value) at byte offset 538
decoding error 0x0103 (forbidden bitrate value) at byte offset 539
decoding error 0x0103 (forbidden bitrate value) at byte offset 540
decoding error 0x0103 (forbidden bitrate value) at byte offset 541
.
....................
....
..........this continues and after some time we are getting
 
decoding error 0x0235 (bad main_data_begin pointer) at byte offset 1024
decoding error 0x0101 (lost synchronization) at byte offset 522
decoding error 0x0101 (lost synchronization) at byte offset 897
decoding error 0x0235 (bad main_data_begin pointer) at byte offset 1039
decoding error 0x0101 (lost synchronization) at byte offset 522
decoding error 0x0101 (lost synchronization) at byte offset 699
decoding error 0x0103 (forbidden bitrate value) at byte offset 714
decoding error 0x0103 (forbidden bitrate value) at byte offset 715
decoding error 0x0104 (reserved sample frequency value) at byte offset 716
decoding error 0x0102 (reserved header layer value) at byte offset 874
decoding error 0x0103 (forbidden bitrate value) at byte offset 876
..
...........
.............
why these errors are coming ........will these errors  have any impact on the final output pcm file size??
means any data lost?? 
bcz i am getting 50MB as output pcm file size rather than 55MB(using other softwares like COOL EDIT).
can someone points out where the problem is?
Please kindly indicates me some clues to fix the problem.
Thanks in advance
prafulla chandra.