From f8c295f6d13d9a4a6e351b6c4552c93d9c78d3b9 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 28 Mar 2011 19:22:01 +0200 Subject: fixed regression in aac parser caused by transition to 64bit file offsets --- plugins/aac/aac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index ede9ed1c..b2b79f1c 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -218,7 +218,7 @@ parse_aac_stream(DB_FILE *fp, int *psamplerate, int *pchannels, float *pduration // *pchannels = stream_ch; // } framepos += size; - if (deadbeef->fseek (fp, size-sizeof(buf), SEEK_CUR) == -1) { + if (deadbeef->fseek (fp, size-(int)sizeof(buf), SEEK_CUR) == -1) { trace ("parse_aac_stream: invalid seek %d\n", size-sizeof(buf)); break; } -- cgit v1.2.3