to find header in Mp3 file and retrieve data

hi all,
In an mp3 file , data is arranged in sequence of header and data ,how to retrieve data between two headers. Is the data between two headers fixed? because as per theory it says 1152 samples will be there , but dont knw how many bits one sample correspond to?
it would help if any c program is there.

There are different versions of MP3 files:
Go here and download the C source MPEG viewing and see if that works for you.
Wotsit.org - Extensions: 'M'

calculating frame size of MPEG file

Read the BitRate, SampleRate and Padding (as value of one or zero) of the frame header and use the formula:

FrameSize = 144 * BitRate / SampleRate + Padding

[b]Example: BitRate = 128000, SampleRate=441000, Padding=0 ==> FrameSize=417 bytes

what does 144 corresponds to ?