X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=flac_afh.c;h=eeb0e86c32ac558cc483fe1fc4ce1270c8f0d2f8;hp=d2f256dc152a8e9547968b5f30ece5cff381754c;hb=e8ca7526ddebc98f3023736f77fa13b65034767b;hpb=9c5fbc5dd8b53604d7e73fb6714ee2b5e3458866 diff --git a/flac_afh.c b/flac_afh.c index d2f256dc..eeb0e86c 100644 --- a/flac_afh.c +++ b/flac_afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2013 Andre Noll + * Copyright (C) 2011-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -80,7 +80,7 @@ static FLAC__int64 meta_tell_cb(FLAC__IOHandle handle) static int meta_eof_cb(FLAC__IOHandle handle) { struct private_flac_afh_data *pfad = handle; - return pfad->fpos == pfad->map_bytes - 1; + return pfad->fpos == pfad->map_bytes; } static int meta_close_cb(FLAC__IOHandle __a_unused handle)