diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-14 00:51:42 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-19 11:34:36 +0100 |
commit | 0148e85c3ca143a3b7ae56e21f221cd78c334740 (patch) | |
tree | d395c3b39ea5867faedabb83041a1d68b387370d /tests/ref/lavf | |
parent | b845fff57d358657d1c2efb63a883fb5505b6a32 (diff) | |
download | ffmpeg-0148e85c3ca143a3b7ae56e21f221cd78c334740.tar.gz |
avformat/matroskaenc: Don't waste bytes on SimpleTags length fields
Also check the (user-provided) tags for being overlong; the earlier
code had an implicit unchecked size_t->int conversion.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/lavf')
-rw-r--r-- | tests/ref/lavf/mka | 4 | ||||
-rw-r--r-- | tests/ref/lavf/mkv | 4 | ||||
-rw-r--r-- | tests/ref/lavf/mkv_attachment | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/ref/lavf/mka b/tests/ref/lavf/mka index 9c0ec88637..5d4ab243c0 100644 --- a/tests/ref/lavf/mka +++ b/tests/ref/lavf/mka @@ -1,3 +1,3 @@ -52d2c70afe0f9ac510819f723b5ceb3b *tests/data/lavf/lavf.mka -43583 tests/data/lavf/lavf.mka +036f852ae7ae18cf38ddc99ea39032fb *tests/data/lavf/lavf.mka +43576 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 6e517efede..e737cdf6ac 100644 --- a/tests/ref/lavf/mkv +++ b/tests/ref/lavf/mkv @@ -1,3 +1,3 @@ -c1af29ab33c9477049672b62da221552 *tests/data/lavf/lavf.mkv -320438 tests/data/lavf/lavf.mkv +3e37e53471f20f2b7169afd75cba70d2 *tests/data/lavf/lavf.mkv +320424 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 86ba4180cb..0149bf2010 100644 --- a/tests/ref/lavf/mkv_attachment +++ b/tests/ref/lavf/mkv_attachment @@ -1,3 +1,3 @@ -a669ae1a502ff0c487eee99753e7bef0 *tests/data/lavf/lavf.mkv_attachment -472593 tests/data/lavf/lavf.mkv_attachment +6a77b40186840d596bd584182ac3a283 *tests/data/lavf/lavf.mkv_attachment +472579 tests/data/lavf/lavf.mkv_attachment tests/data/lavf/lavf.mkv_attachment CRC=0xec6c3c68 |