mpg123 goes into endless loop while decoding mp3
Brought to you by:
sobukus
mpg123 1.13.2 stops playing and keeps outputting :
[parse.c:1026] error: Frame size too big: 4198
[parse.c:721] error: decode header failed - goto resync
mpg123-20110331000000 from svn stops playing and keeps saying :
[parse.c:910] error: Encountered free format header, but failed to guess frame size.
[parse.c:698] error: decode header failed - goto resync
part of mp3 file, that causes the error
Please, can you provide an example stream/file that triggers this behaviour, be it as attachment here or sent to maintainer@mpg123.org?
Hi, file snippet.mp3 is already attached !
Hm, _now_ I see it. OK. I can reproduce.
OK. How does http://mpg123.org/download/mpg123-1.13.3.tar.bz2 feel for you? Also, for your example, you might want to try the parameter --resync-limit -1 since the default of 1024 bytes does not cover the broken part in your stream.
Background of the issue: Introduction of free format support broke a basic test for the need of resync. Resync was demanded, but never happened.
Works fine now. Thanks for the quick fix !