From bbe8b46a9a8241b9d693444f3376ae6fbfe7825d Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Fri, 13 Apr 2001 21:54:53 +0000 Subject: [PATCH] minor fixes --- src/metaflac/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/metaflac/main.c b/src/metaflac/main.c index d593b93..136fc87 100644 --- a/src/metaflac/main.c +++ b/src/metaflac/main.c @@ -130,7 +130,7 @@ int usage(const char *message, ...) bool list(FILE *f, bool verbose) { byte buf[65536]; - byte *b; + byte *b = buf; FLAC__StreamMetaData metadata; unsigned blocknum = 0, byte_offset = 0, i; @@ -235,7 +235,7 @@ bool list(FILE *f, bool verbose) case FLAC__METADATA_TYPE_SEEKTABLE: printf("seek points: %u\n", metadata.data.seek_table.num_points); for(i = 0; i < metadata.data.seek_table.num_points; i++, b += SEEKPOINT_LEN_) { - printf("\tpoint %d: sample_number=%llu, stream_offset=%llu, block_offset=%u\n", i, unpack_uint64(b, 8), unpack_uint64(b+8, 8), unpack_uint32(b+16, 2)); + printf("\tpoint %d: sample_number=%llu, stream_offset=%llu, frame_samples=%u\n", i, unpack_uint64(b, 8), unpack_uint64(b+8, 8), unpack_uint32(b+16, 2)); } break; default: -- 2.7.4