1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/tests/ref/lavf
Andreas Rheinhardt d53acf452f avformat/matroskaenc: Don't write \0 unnecessarily
Writing the duration SimpleTag is special: It's size is
reserved in advance via an EBML Void element (if seekable)
and this reserved space is overwritten when writing the trailer;
it does not use put_ebml_string().

The string to write is created via snprintf on a buffer
of size 20; this buffer is then written via put_ebml_binary()
with a size of 20.

EBML strings need not be zero-terminated; if not, they
are implicitly terminated by the element's length field.
snprintf() always zero-terminates the buffer, i.e.
the last byte can be discarded when using an EBML string.
This patch does this.

The FATE changes are as expected: One byte saved for every
track; the only exception is the matroska-qt-mode test:
An additional byte is saved because an additional byte
could be saved from the enclosing Tags length field.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-08-10 23:56:35 +02:00
..
aiff
al
apng
apng.png
asf fftools/ffmpeg: propagate frame durations to packets when encoding 2023-04-19 21:12:03 +02:00
ast
au
avi
bmp tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
caf
dfpwm fate/lavf-audio: Add dfpwm test 2022-09-18 17:48:52 +02:00
dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
dv
dv_ntsc
dv_pal
flm
flv
gbrap16be.fits
gbrap.fits
gbrp10le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gbrp12le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gbrp16be.fits
gbrp.fits
gbrpf32be.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gbrpf32le.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gif tests/fate: fix mismatches between requested and actually used pixel formats 2023-07-20 20:30:13 +02:00
gray16be.fits
gray16be.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray16be.png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray.fits
gray.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
gray.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
grayf32be.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
grayf32le.pfm avcodec/pnm: avoid mirroring PFM images vertically 2022-12-27 10:41:25 -03:00
gxf
gxf_ntsc
gxf_pal
ircam
ismv
jpg tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
mka avformat/matroskaenc: Don't write \0 unnecessarily 2023-08-10 23:56:35 +02:00
mkv avformat/matroskaenc: Don't write \0 unnecessarily 2023-08-10 23:56:35 +02:00
mkv_attachment avformat/matroskaenc: Don't write \0 unnecessarily 2023-08-10 23:56:35 +02:00
mmf
monob.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
monow.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
mov
mov_rtphint
mp4 avformat/movenc: enable compressorname for mp4 mode 2022-06-24 15:37:23 +08:00
mpg
mxf
mxf_d10
mxf_dv25 lavc/dv: remove ff_dvvideo_init() 2022-09-05 08:02:28 +02:00
mxf_dvcpro50
mxf_dvcpro100 avformat/mxfenc: fix stored/sampled/displayed width/height 2023-03-26 22:04:44 +02:00
mxf_ffv1 avformat/mxfenc: SMPTE RDD 48:2018 Amd 1:2022 support 2023-03-25 19:28:36 +01:00
mxf_opatom avformat/mxfenc: fix stored/sampled/displayed width/height 2023-03-26 22:04:44 +02:00
mxf_opatom_audio
none.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
none.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
none.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
nut
ogg avformat/oggenc: don't flush twice when the last packet is side data only 2023-01-03 21:35:03 -03:00
pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
pbmpipe
pcx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
peak_only.wav
peak.wav
pgm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
pgmpipe
png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ppm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ppmpipe
qoi tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
qoipipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
rgb4_byte.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb8.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48be.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48be.png tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48le_10.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb48le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb555be.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgb565be.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba64le.dpx tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba.pam tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rgba.xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
rle.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rle.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rle.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
rm ac3: convert to lavu/tx 2022-11-06 14:39:27 +01:00
rso
s16.voc
sgi avcodec/sgidec: Use planar pixel formats 2022-10-05 14:38:51 +02:00
smjpeg fftools/ffmpeg: rework audio-decode timestamp handling 2023-05-02 10:59:24 +02:00
sox
sun tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
swf
tga tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
tiff tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
ts
tta
ul
voc
w64
wav
wbmp avcodec: WBMP (Wireless Application Protocol Bitmap) image format 2022-08-07 19:18:18 +10:00
wtv
wv
xbm tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
xbmpipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
xwd tests/fate-run: Allow to skip file checksums for lavf_image 2022-08-02 02:27:05 +02:00
xwdpipe fate: add QOI/XBM/XWD image2pipe tests 2022-12-03 19:38:11 +01:00
y4m
zip1.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip1.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip1.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.gbrapf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.gbrpf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00
zip16.grayf32le.exr fate/lavf-image: Disable file checksums for exr tests 2022-08-02 02:30:26 +02:00