FFmpeg/tests
Andreas Rheinhardt ccadd00a4a avformat/matroskaenc: Make output more deterministic
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>
2020-04-13 08:43:14 +02:00
..
api tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts 2019-02-12 22:28:15 +08:00
checkasm tests/checkasm: add overflow test for hevc_add_res 2020-03-27 10:57:40 +01:00
dnn dnn-layer-mathbinary-test: add unit test for subtraction 2020-04-07 11:04:40 +08:00
fate avformat/matroskaenc: Make output more deterministic 2020-04-13 08:43:14 +02:00
filtergraphs lavfi/concat: allow to support inputs with different frame rates 2019-09-08 16:48:28 +02:00
ref avformat/matroskaenc: Make output more deterministic 2020-04-13 08:43:14 +02:00
.gitignore
audiogen.c tests/audiogen: raise channel count limit to 12 2018-07-30 10:46:10 +02:00
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate: Don't use depreceated keepside option 2020-01-10 12:28:18 -03:00
fate-valgrind.supp
fate.sh
Makefile fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c