mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
ccadd00a4a
Using random values for TrackUID and FileUID (as happens when the AVFMT_FLAG_BITEXACT flag is not set) has the obvious downside of making the output indeterministic. This commit mitigates this by writing the potentially random values with a fixed size of eight byte, even if their actual values would fit into less than eight bytes. This ensures that even in non-bitexact mode, the differences between two files generated with the same settings are restricted to a few bytes in the header. (Namely the SegmentUID, the TrackUIDs (in Tracks as well as when referencing them via TagTrackUID), the FileUIDs (in Attachments as well as in TagAttachmentUID) as well as the CRC-32 checksums of the Info, Tracks, Attachments and Tags level-1-elements.) Without this patch, there might be an offset/a size difference between two such files. The FATE-tests had to be updated because the fixed-sized UIDs are also used in bitexact mode. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
44 lines
2.2 KiB
Plaintext
44 lines
2.2 KiB
Plaintext
9d0c81ce285a84c0137316004d091d95 *tests/data/fate/aac-autobsf-adtstoasc.matroska
|
|
6620 tests/data/fate/aac-autobsf-adtstoasc.matroska
|
|
#extradata 0: 2, 0x0030001c
|
|
#tb 0: 1/1000
|
|
#media_type 0: audio
|
|
#codec_id 0: aac
|
|
#sample_rate 0: 16000
|
|
#channel_layout 0: 4
|
|
#channel_layout_name 0: mono
|
|
0, 0, 0, 64, 4, 0x02f70117
|
|
0, 64, 64, 64, 163, 0xd5f85007
|
|
0, 128, 128, 64, 127, 0x66484065
|
|
0, 192, 192, 64, 94, 0x55222bd6
|
|
0, 256, 256, 64, 314, 0x3c7e923a
|
|
0, 320, 320, 64, 207, 0x1efc5d1b
|
|
0, 384, 384, 64, 119, 0xb2a13601
|
|
0, 448, 448, 64, 184, 0xcafc6091
|
|
0, 512, 512, 64, 132, 0xddd33c0b
|
|
0, 576, 576, 64, 152, 0x83935031
|
|
0, 640, 640, 64, 227, 0x32a86bc4
|
|
0, 704, 704, 64, 122, 0xd04e3571
|
|
0, 768, 768, 64, 163, 0x57d44d16
|
|
0, 832, 832, 64, 147, 0x226043d7
|
|
0, 896, 896, 64, 119, 0x8ad931ed
|
|
0, 960, 960, 64, 153, 0xbb6e432f
|
|
0, 1024, 1024, 64, 185, 0xa01f4ff3
|
|
0, 1088, 1088, 64, 126, 0x85503ce6
|
|
0, 1152, 1152, 64, 246, 0x652c7b59
|
|
0, 1216, 1216, 64, 162, 0xc9f04da0
|
|
0, 1280, 1280, 64, 135, 0x71fa3be0
|
|
0, 1344, 1344, 64, 246, 0x7a6f7788
|
|
0, 1408, 1408, 64, 262, 0xd3097781
|
|
0, 1472, 1472, 64, 60, 0x09a118f5
|
|
0, 1536, 1536, 64, 255, 0xbab5793c
|
|
0, 1600, 1600, 64, 153, 0x6b6a44fb
|
|
0, 1664, 1664, 64, 160, 0x550e4530
|
|
0, 1728, 1728, 64, 215, 0x7fe66144
|
|
0, 1792, 1792, 64, 144, 0xcd723f7d
|
|
0, 1856, 1856, 64, 187, 0x2a0b5c1b
|
|
0, 1920, 1920, 64, 177, 0xb8c355d5
|
|
0, 1984, 1984, 64, 156, 0x867d4f3a
|
|
0, 2048, 2048, 64, 201, 0x62745ff9
|
|
0, 2112, 2112, 64, 137, 0x90c639e0
|