1
0
mirror of http://mpg123.de/trunk/.git synced 2025-07-30 02:01:12 +03:00

Initializing framesize (as pointed out by "Gates Fan").

Adding resync limit as tunable parameter, with possible setting to -1 to scan through all available data for next valid MPEG frame.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1347 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2008-01-26 15:33:24 +00:00
parent 9f8b6521f9
commit c43c4427d5
10 changed files with 45 additions and 17 deletions

View File

@ -25,6 +25,7 @@ int main(int argc, char **argv)
}
mpg123_init();
m = mpg123_new(NULL, NULL);
mpg123_param(m, MPG123_RESYNC_LIMIT, -1, 0); /* New in library version 0.0.1 . */
for(i = 1; i < argc; ++i)
{
off_t a, b;