From eb9b2a08d260a241b97e543ea8e313a1e7385637 Mon Sep 17 00:00:00 2001 From: waker Date: Thu, 8 Nov 2012 18:41:09 +0100 Subject: aac: header validator will now check up to 4000 bytes instead of 2000 --- plugins/aac/aac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/aac') diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index ca0f391e..15e493ca 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -160,7 +160,7 @@ parse_aac_stream(DB_FILE *fp, int *psamplerate, int *pchannels, float *pduration memmove (buf, buf+1, sizeof (buf)-1); bufsize--; // trace ("aac_sync fail, framepos: %d\n", framepos); - if (deadbeef->ftell (fp) - initfpos > 2000) { // how many is enough to make sure? + if (deadbeef->ftell (fp) - initfpos > 4000) { // how many is enough to make sure? break; } framepos++; -- cgit v1.2.3