ffmpeg/tests/fate
Andreas Rheinhardt 2ff687c17f avformat/matroskadec: Fix lzo decompression
When a Matroska Block is only stored in compressed form, the size of
the uncompressed block is not explicitly coded and therefore not known
before decompressing it. Therefore the demuxer uses a guess for the
uncompressed size: The first guess is three times the compressed size
and if this is not enough, it is repeatedly incremented by a factor of
three. But when this happens with lzo, the decompression is neither
resumed nor started again. Instead when av_lzo1x_decode indicates that x
bytes of input data could not be decoded, because the output buffer is
already full, the first (not the last) x bytes of the input buffer are
resent for decoding in the next try; they overwrite already decoded
data.

This commit fixes this by instead restarting the decompression anew,
just with a bigger buffer.

This seems to be a regression since 935ec5a1.

A FATE-test for this has been added.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-12-28 22:40:13 -03:00
..
aac.mak
ac3.mak
acodec.mak
adpcm.mak
alac.mak
als.mak fate/als: Add test for conformance file with 512 channels. 2019-08-24 09:33:44 +02:00
amrnb.mak
amrwb.mak
api.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
apng.mak
atrac.mak
audio.mak fate: add dst decoder test 2019-06-10 09:44:11 +10:00
bmp.mak
build.mak
canopus.mak
cbs.mak fate/cbs: use the rawvideo muxer for AV1 tests 2019-12-13 10:58:10 -03:00
cdxl.mak
checkasm.mak checkasm/vf_eq: add test for vf_eq 2019-09-26 08:10:31 +08:00
concatdec.mak
cover-art.mak
dca.mak
demux.mak fate/demux: add an AV1 Annex B test 2019-11-29 18:58:42 -03:00
dfa.mak
dnn.mak FATE/dnn: add unit test for layer maximum 2019-09-20 10:57:23 -03:00
dnxhd.mak
dpcm.mak
ea.mak
exif.mak
ffmpeg.mak fate: Fix dependencies to sample files to use local paths 2019-12-12 11:27:55 +02:00
ffprobe.mak ffprobe: Fix fate tests for ffprobe in cases where TARGET_PATH differs from the current path 2019-12-18 15:15:12 +02:00
fft.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
fifo-muxer.mak
filter-audio.mak fate: Use a oneoff test for the tremolo filter 2019-12-11 22:20:00 +02:00
filter-video.mak fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
fits.mak
flac.mak
flvenc.mak
gapless.mak fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
gif.mak fate: add accurate_rnd+bitexact sws_flags for fate-gifenc 2019-08-17 17:33:16 +02:00
h264.mak
hap.mak
hevc.mak FATE/hevc.mak: cosmetic for fate-hevc-paired-fields 2019-12-17 14:20:48 -03:00
hlsenc.mak FATE: add hls single file mode test case 2019-08-01 19:25:29 +08:00
hw.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
id3v2.mak
image.mak
indeo.mak
lavf-audio.mak
lavf-container.mak fate/lavf-container: add an H264 mp4 remux test 2019-11-29 18:24:01 -03:00
lavf-image.mak
lavf-image2pipe.mak
lavf-video.mak
libavcodec.mak lavc/h265_profile_level: Add unit test 2019-07-07 13:29:50 +01:00
libavdevice.mak
libavformat.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
libavresample.mak
libavutil.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
libswresample.mak
libswscale.mak tests: Add EXESUF to program calls. 2019-04-19 01:11:39 +02:00
lossless-audio.mak
lossless-video.mak
matroska.mak avformat/matroskadec: Fix lzo decompression 2019-12-28 22:40:13 -03:00
microsoft.mak
monkeysaudio.mak
mov.mak fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
mp3.mak
mpc.mak
mpeg4.mak
mpegps.mak fate: Fix dependencies to sample files to use local paths 2019-12-12 11:27:55 +02:00
mpegts.mak
mxf.mak fate: Fix dependencies to sample files to use local paths 2019-12-12 11:27:55 +02:00
opus.mak
pcm.mak
pixfmt.mak
pixlet.mak
probe.mak
prores.mak
qt.mak
qtrle.mak
real.mak
screen.mak
seek.mak fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
segment.mak
source-check.sh
source.mak
speedhq.mak
subtitles.mak
utvideo.mak
vcodec.mak fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
video.mak fate: add a case for ticket #3229 2019-08-13 10:46:20 +08:00
voice.mak
vorbis.mak
vpx.mak fate: add VP4 test 2019-06-12 20:06:20 +10:00
vqf.mak
wavpack.mak avformat/matroskaenc: Don't waste bytes writing level 1 elements 2019-05-08 13:02:30 -03:00
wma.mak
xvid.mak