mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
2ff687c17f
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
|
||
---|---|---|
.. | ||
aac.mak | ||
ac3.mak | ||
acodec.mak | ||
adpcm.mak | ||
alac.mak | ||
als.mak | ||
amrnb.mak | ||
amrwb.mak | ||
api.mak | ||
apng.mak | ||
atrac.mak | ||
audio.mak | ||
bmp.mak | ||
build.mak | ||
canopus.mak | ||
cbs.mak | ||
cdxl.mak | ||
checkasm.mak | ||
concatdec.mak | ||
cover-art.mak | ||
dca.mak | ||
demux.mak | ||
dfa.mak | ||
dnn.mak | ||
dnxhd.mak | ||
dpcm.mak | ||
ea.mak | ||
exif.mak | ||
ffmpeg.mak | ||
ffprobe.mak | ||
fft.mak | ||
fifo-muxer.mak | ||
filter-audio.mak | ||
filter-video.mak | ||
fits.mak | ||
flac.mak | ||
flvenc.mak | ||
gapless.mak | ||
gif.mak | ||
h264.mak | ||
hap.mak | ||
hevc.mak | ||
hlsenc.mak | ||
hw.mak | ||
id3v2.mak | ||
image.mak | ||
indeo.mak | ||
lavf-audio.mak | ||
lavf-container.mak | ||
lavf-image2pipe.mak | ||
lavf-image.mak | ||
lavf-video.mak | ||
libavcodec.mak | ||
libavdevice.mak | ||
libavformat.mak | ||
libavresample.mak | ||
libavutil.mak | ||
libswresample.mak | ||
libswscale.mak | ||
lossless-audio.mak | ||
lossless-video.mak | ||
matroska.mak | ||
microsoft.mak | ||
monkeysaudio.mak | ||
mov.mak | ||
mp3.mak | ||
mpc.mak | ||
mpeg4.mak | ||
mpegps.mak | ||
mpegts.mak | ||
mxf.mak | ||
opus.mak | ||
pcm.mak | ||
pixfmt.mak | ||
pixlet.mak | ||
probe.mak | ||
prores.mak | ||
qt.mak | ||
qtrle.mak | ||
real.mak | ||
screen.mak | ||
seek.mak | ||
segment.mak | ||
source-check.sh | ||
source.mak | ||
speedhq.mak | ||
subtitles.mak | ||
utvideo.mak | ||
vcodec.mak | ||
video.mak | ||
voice.mak | ||
vorbis.mak | ||
vpx.mak | ||
vqf.mak | ||
wavpack.mak | ||
wma.mak | ||
xvid.mak |