diff options
author | waker <wakeroid@gmail.com> | 2011-03-28 19:57:06 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-28 19:57:06 +0200 |
commit | de862934571eb38848c8958d8e3c60c4856f3976 (patch) | |
tree | cd33b982079ad5acca61ae0f7b026c7b17dede8e | |
parent | f8c295f6d13d9a4a6e351b6c4552c93d9c78d3b9 (diff) |
fixed aac seeking regression
-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 b2b79f1c..f69fff6c 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -914,7 +914,7 @@ seek_raw_aac (aac_info_t *info, int sample) { else { //trace ("aac: frame #%d(%d/%d) sync: %d %d %d %d %d\n", frame, curr_sample, sample, channels, samplerate, bitrate, frame_samples, size); frame++; - if (deadbeef->fseek (info->file, size-sizeof(buf), SEEK_CUR) == -1) { + if (deadbeef->fseek (info->file, size-(int)sizeof(buf), SEEK_CUR) == -1) { trace ("seek_raw_aac: invalid seek %d\n", size-sizeof(buf)); break; } |