diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-08-20 09:16:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-06 20:30:57 +0100 |
commit | 80d27aaf7078fbc0ab4ce42500748facb025859d (patch) | |
tree | 29c16e3d40fafb0903e5361b9962db150ead784f /libavcodec/fdctdsp.c | |
parent | 8fecba0aa7e3f74b753cba18119e72b6f1211874 (diff) | |
download | ffmpeg-80d27aaf7078fbc0ab4ce42500748facb025859d.tar.gz |
avcodec/vp56rac: delay signaling an error on truncated input
A threshold of 1 is sufficient for simple_dump_cut.webm, 10 is used
just to be sure the next truncated file doesnt cause the same issue
Obvious alternative fixes are to simply accept that the file is broken or to
write some advanced error concealment or to
simply accept that the decoder wont stop at the end of input.
Fixes: Ticket 8069 (artifacts not the differing md5 which was there before 1afd246960202917e244c844c534e9c1e3c323f5)
Fixes: simple_dump_cut.webm
Fixes: regression of 1afd246960202917e244c844c534e9c1e3c323f5
fate-vp5 changes because the last frame is truncated and now handled
differently.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b6b9ac5698c8f911841b469af77199153278c55c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 70fb3fa990d604211d5b24fc43cdfe31560de250)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/fdctdsp.c')
0 files changed, 0 insertions, 0 deletions