From d496feb1e4ddf6390f6dbd4c5d7f9efcde98e1da Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 23 Mar 2004 10:51:23 +0000 Subject: [PATCH] The DATA chunk size was four bytes too large. --- librmff/rmff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librmff/rmff.c b/librmff/rmff.c index 0a75663ff..f8fa3e656 100644 --- a/librmff/rmff.c +++ b/librmff/rmff.c @@ -1028,7 +1028,7 @@ write_data_header(rmff_file_t *file) { fint = (rmff_file_internal_t *)file->internal; bw = write_uint32_be(rmffFOURCC('D', 'A', 'T', 'A')); - bw += write_uint32_be(fint->data_contents_size + 4 + 4 + 2 + 4 + 4 + 4); + bw += write_uint32_be(fint->data_contents_size + 4 + 4 + 2 + 4 + 4); bw += write_uint16_be(0); /* object_version */ bw += write_uint32_be(fint->num_packets); /* num_packets_in_chunk */ bw += write_uint32_be(0); /* next_data_header_offset */