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/fate | |
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/fate')
-rw-r--r-- | tests/ref/fate/matroska-dovi-write-config7 | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-flac-extradata-update | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-h264-remux | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-mastering-display-metadata | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-move-cues-to-front | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-qt-mode | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-vp8-alpha-remux | 4 | ||||
-rw-r--r-- | tests/ref/fate/matroska-zero-length-block | 4 | ||||
-rw-r--r-- | tests/ref/fate/rgb24-mkv | 4 | ||||
-rw-r--r-- | tests/ref/fate/webm-dash-chapters | 4 |
10 files changed, 20 insertions, 20 deletions
diff --git a/tests/ref/fate/matroska-dovi-write-config7 b/tests/ref/fate/matroska-dovi-write-config7 index 1c1422c0e4..b652fe411d 100644 --- a/tests/ref/fate/matroska-dovi-write-config7 +++ b/tests/ref/fate/matroska-dovi-write-config7 @@ -1,5 +1,5 @@ -3fa1f47c5c3d22b5c33156ff14928d6c *tests/data/fate/matroska-dovi-write-config7.matroska -72758 tests/data/fate/matroska-dovi-write-config7.matroska +058e95f1effefe3842b6174bba2693fc *tests/data/fate/matroska-dovi-write-config7.matroska +72707 tests/data/fate/matroska-dovi-write-config7.matroska #extradata 0: 116, 0x2b8d1669 #extradata 1: 116, 0x2b8d1669 #tb 0: 1/1000 diff --git a/tests/ref/fate/matroska-flac-extradata-update b/tests/ref/fate/matroska-flac-extradata-update index 1a8add7736..260d596904 100644 --- a/tests/ref/fate/matroska-flac-extradata-update +++ b/tests/ref/fate/matroska-flac-extradata-update @@ -1,5 +1,5 @@ -c2b76d47a9f0e9626a4999bd395cae08 *tests/data/fate/matroska-flac-extradata-update.matroska -2029 tests/data/fate/matroska-flac-extradata-update.matroska +56ff5763fd81ad3bc02c22402cd685e2 *tests/data/fate/matroska-flac-extradata-update.matroska +2008 tests/data/fate/matroska-flac-extradata-update.matroska #extradata 0: 34, 0x7acb09e7 #extradata 1: 34, 0x7acb09e7 #extradata 2: 34, 0x443402dd diff --git a/tests/ref/fate/matroska-h264-remux b/tests/ref/fate/matroska-h264-remux index b5ecebaf24..e55708ce37 100644 --- a/tests/ref/fate/matroska-h264-remux +++ b/tests/ref/fate/matroska-h264-remux @@ -1,5 +1,5 @@ -36fda8942bfed91fed04c5ba63dc8b1a *tests/data/fate/matroska-h264-remux.matroska -2036089 tests/data/fate/matroska-h264-remux.matroska +ae0ccd32cc0d3bfc1eaa15c7fc985dfb *tests/data/fate/matroska-h264-remux.matroska +2036075 tests/data/fate/matroska-h264-remux.matroska #tb 0: 1/25 #media_type 0: video #codec_id 0: rawvideo diff --git a/tests/ref/fate/matroska-mastering-display-metadata b/tests/ref/fate/matroska-mastering-display-metadata index 8f5d7b6a22..f13d60ff2f 100644 --- a/tests/ref/fate/matroska-mastering-display-metadata +++ b/tests/ref/fate/matroska-mastering-display-metadata @@ -1,5 +1,5 @@ -542ababe5c088ab925ee49373d8b8a85 *tests/data/fate/matroska-mastering-display-metadata.matroska -1669695 tests/data/fate/matroska-mastering-display-metadata.matroska +64403411e52d7ba9081ab5692e422737 *tests/data/fate/matroska-mastering-display-metadata.matroska +1669597 tests/data/fate/matroska-mastering-display-metadata.matroska #extradata 0: 4, 0x040901a3 #extradata 3: 200, 0x506463a8 #tb 0: 1/1000 diff --git a/tests/ref/fate/matroska-move-cues-to-front b/tests/ref/fate/matroska-move-cues-to-front index 46effff53e..55a03b8c10 100644 --- a/tests/ref/fate/matroska-move-cues-to-front +++ b/tests/ref/fate/matroska-move-cues-to-front @@ -1,5 +1,5 @@ -ce15d8b7577933a057c413af505500df *tests/data/fate/matroska-move-cues-to-front.matroska -23210310 tests/data/fate/matroska-move-cues-to-front.matroska +62064edeb4a621fd0097f04c410c165c *tests/data/fate/matroska-move-cues-to-front.matroska +23210303 tests/data/fate/matroska-move-cues-to-front.matroska #tb 0: 1/1000 #media_type 0: audio #codec_id 0: pcm_s24be diff --git a/tests/ref/fate/matroska-qt-mode b/tests/ref/fate/matroska-qt-mode index 9dc115cc0d..770d9e7e91 100644 --- a/tests/ref/fate/matroska-qt-mode +++ b/tests/ref/fate/matroska-qt-mode @@ -1,5 +1,5 @@ -a741bd63da27d6b8ce3a21009267703d *tests/data/fate/matroska-qt-mode.matroska -1884278 tests/data/fate/matroska-qt-mode.matroska +1e525172caec2bf4e191a68c97bbbc51 *tests/data/fate/matroska-qt-mode.matroska +1884243 tests/data/fate/matroska-qt-mode.matroska #extradata 0: 90, 0x817d0185 #tb 0: 1/1000 #media_type 0: video diff --git a/tests/ref/fate/matroska-vp8-alpha-remux b/tests/ref/fate/matroska-vp8-alpha-remux index adb771df88..165c2404e7 100644 --- a/tests/ref/fate/matroska-vp8-alpha-remux +++ b/tests/ref/fate/matroska-vp8-alpha-remux @@ -1,5 +1,5 @@ -d06be833da8e8d9d00bf334e0dfe8a58 *tests/data/fate/matroska-vp8-alpha-remux.matroska -237192 tests/data/fate/matroska-vp8-alpha-remux.matroska +e3912762161bb6e7f9607c085b371676 *tests/data/fate/matroska-vp8-alpha-remux.matroska +237185 tests/data/fate/matroska-vp8-alpha-remux.matroska #tb 0: 1/1000 #media_type 0: video #codec_id 0: vp8 diff --git a/tests/ref/fate/matroska-zero-length-block b/tests/ref/fate/matroska-zero-length-block index e8c5decb39..924cec1e3f 100644 --- a/tests/ref/fate/matroska-zero-length-block +++ b/tests/ref/fate/matroska-zero-length-block @@ -1,5 +1,5 @@ -ba78b3e846d57002711bc481fa806717 *tests/data/fate/matroska-zero-length-block.matroska -643 tests/data/fate/matroska-zero-length-block.matroska +f37ba7e8a30eaa33c1fd0ef77447fb41 *tests/data/fate/matroska-zero-length-block.matroska +636 tests/data/fate/matroska-zero-length-block.matroska #tb 0: 1/1000 #media_type 0: subtitle #codec_id 0: subrip diff --git a/tests/ref/fate/rgb24-mkv b/tests/ref/fate/rgb24-mkv index 1ef70349b7..2630265ebc 100644 --- a/tests/ref/fate/rgb24-mkv +++ b/tests/ref/fate/rgb24-mkv @@ -1,5 +1,5 @@ -6244b8750d4155d3c9357bab26396ef9 *tests/data/fate/rgb24-mkv.matroska -58245 tests/data/fate/rgb24-mkv.matroska +2c7192d8b62c6a11e311a09ab3bef3b8 *tests/data/fate/rgb24-mkv.matroska +58224 tests/data/fate/rgb24-mkv.matroska #tb 0: 1/10 #media_type 0: video #codec_id 0: rawvideo diff --git a/tests/ref/fate/webm-dash-chapters b/tests/ref/fate/webm-dash-chapters index c04fc6a3ee..c2f87b2d7c 100644 --- a/tests/ref/fate/webm-dash-chapters +++ b/tests/ref/fate/webm-dash-chapters @@ -1,5 +1,5 @@ -c39ad75ef516d1d2e1332d960ad1057b *tests/data/fate/webm-dash-chapters.webm -111239 tests/data/fate/webm-dash-chapters.webm +d3a67db17fdca71b9f8cf57c341a031b *tests/data/fate/webm-dash-chapters.webm +111218 tests/data/fate/webm-dash-chapters.webm #extradata 0: 3469, 0xc6769ddc #tb 0: 1/1000 #media_type 0: audio |