file: mad.c
function: scan
Count of mp3 frames is calculated, counted or parsed from Xing tag (at least tried to). Function parse_xing() does nothing because it is called on frame ancilary data and ancilary data stream is not initialized (function mad_header_decode() just does not and dont have to do it). It is in demand to repair xing parsing as it brings very distinct speedup on variable bitrate mp3 files (no need to walk through all frames to count them).
Regards, mr.q.
P.S.: Sorry for my English :-)