Thomas Orgis - 2014-09-26

The crc checking should be employed by a certain function that explicitly checks for MPEG file correctness. Actually two:

mpg123_check_init() for guessing if the loaded stream is valid(trying to initialize track and check crc for first frame(s)) ... I'm not sure about the name, as I suppose it would mainly call init_track() and be ready for further decoding. CRC check ob top.

mpg123_check_stream() check the whole stream with crc ... one needs to wonder about return values; a stream can contain good frames and bad frames and just junk. Those counts might be returned by this function, with MPG123_OK being main return value if any valid frames have been found.