diff options
author | waker <wakeroid@gmail.com> | 2011-03-28 19:22:01 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-28 19:22:01 +0200 |
commit | f8c295f6d13d9a4a6e351b6c4552c93d9c78d3b9 (patch) | |
tree | a65831496cfa174aefbc7afa0303f4747e296404 /plugins | |
parent | affa1bc24235bce82ad8c6cd5182c36f084a4e90 (diff) |
fixed regression in aac parser caused by transition to 64bit file offsets
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/aac/aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |