mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avformat/flvdec: Accept last size if its off by 1
Fixes part of Ticket5648 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a4403e49b9
commit
e8931d79cc
@ -1140,7 +1140,7 @@ retry_duration:
|
||||
|
||||
leave:
|
||||
last = avio_rb32(s->pb);
|
||||
if (last != orig_size + 11 &&
|
||||
if (last != orig_size + 11 && last != orig_size + 10 &&
|
||||
(last != orig_size || !last) && last != flv->sum_flv_tag_size &&
|
||||
!flv->broken_sizes) {
|
||||
av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d\n", last, orig_size + 11);
|
||||
|
Loading…
Reference in New Issue
Block a user