diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index 58702317..4223ed39 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -3008,6 +3008,7 @@ FLAC__bool seek_to_absolute_sample_(FLAC__StreamDecoder *decoder, FLAC__uint64 s upper_bound_sample = total_samples > 0 ? total_samples : target_sample /*estimate it*/; /*@@@@@@ add step to validate seek table before using? encoding to pipe leaves some flac files with incomplete seektables which screw us up */ + /*@@@@@@ ignore seekpoints where frame_samples = 0 or if point is >= total_samples and total_samples is known (or just alter seek_table in read_metadata_seektable_()) */ /* * Now we refine the bounds if we have a seektable with diff --git a/src/metaflac/options.c b/src/metaflac/options.c index a5b63aef..18b9d8e0 100644 --- a/src/metaflac/options.c +++ b/src/metaflac/options.c @@ -235,7 +235,7 @@ FLAC__bool parse_options(int argc, char *argv[], CommandLineOptions *options) /* * We need to create an OP__ADD_SEEKPOINT operation if there is - * not one already, and --import-cuesheet-from was specified but + * not one already, and --import-cuesheet-from was specified but * --no-cued-seekpoints was not: */ if(options->cued_seekpoints) {