Add proper CRC checking to mpg123 (with option to turn off).
Make sure that layer2 support works too.
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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.