diff --git a/Event.cc b/Event.cc index b4a84769..4fd56525 100644 --- a/Event.cc +++ b/Event.cc @@ -424,7 +424,7 @@ int Event::read_tracks(FILE *fp, TrackVec& tracks, bool skip_reading) if (skip_reading) { - fseek(fp, data_size, SEEK_CUR); + fseek(fp, data_size-2, SEEK_CUR);// -2 because data_size counts itself and n_tracks too n_tracks = -n_tracks; } else