From 0b61ddb5766c8d5219150371db0649ff0cec730a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 20 Apr 2019 01:41:08 +0200 Subject: avformat/matroskaenc: Don't waste bytes writing level 1 elements Up until now, the length field of most level 1 elements has been written using eight bytes, although it is known in advance how much space the content of said elements will take up so that it would be possible to determine the minimal amount of bytes for the length field. This commit changes this. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- tests/ref/lavf/mka | 4 ++-- tests/ref/lavf/mkv | 4 ++-- tests/ref/lavf/mkv_attachment | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/ref/lavf') diff --git a/tests/ref/lavf/mka b/tests/ref/lavf/mka index 785197f..a244893 100644 --- a/tests/ref/lavf/mka +++ b/tests/ref/lavf/mka @@ -1,3 +1,3 @@ -8b1992d17a836e07c1464dc1eb4595ac *tests/data/lavf/lavf.mka -43677 tests/data/lavf/lavf.mka +a91bfdb08ff5a1e62b039748d16b07f7 *tests/data/lavf/lavf.mka +43652 tests/data/lavf/lavf.mka tests/data/lavf/lavf.mka CRC=0x3a1da17e diff --git a/tests/ref/lavf/mkv b/tests/ref/lavf/mkv index 97c314c..05999b7 100644 --- a/tests/ref/lavf/mkv +++ b/tests/ref/lavf/mkv @@ -1,3 +1,3 @@ -c6d8a608b7d90820812962972926ef25 *tests/data/lavf/lavf.mkv -320596 tests/data/lavf/lavf.mkv +3cddd26ed41f34925d3f34acabab174e *tests/data/lavf/lavf.mkv +320555 tests/data/lavf/lavf.mkv tests/data/lavf/lavf.mkv CRC=0xec6c3c68 diff --git a/tests/ref/lavf/mkv_attachment b/tests/ref/lavf/mkv_attachment index cb5dd96..230dff3 100644 --- a/tests/ref/lavf/mkv_attachment +++ b/tests/ref/lavf/mkv_attachment @@ -1,3 +1,3 @@ -27cb59473419ffb0b24fa1737ddcd6c7 *tests/data/lavf/lavf.mkv_attachment -472752 tests/data/lavf/lavf.mkv_attachment +4a25c53150c09537cd4fcbff8f8f14ff *tests/data/lavf/lavf.mkv_attachment +472706 tests/data/lavf/lavf.mkv_attachment tests/data/lavf/lavf.mkv_attachment CRC=0xec6c3c68 -- cgit v1.1