mirror of https://github.com/FFmpeg/FFmpeg.git
merge from libav: 585dc1aece
If the metadata packet is corrupted, flv_read_metabody can accidentally
read past the start of the next packet. If the start of the next packet
had been flushed out of the IO buffer, we would be unable to seek to
the right position (on a nonseekable stream).
Prefer to clearly error out instead of silently trying to read from a
desynced stream which will only be interpreted as garbage.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
pull/269/head
parent
25b5096400
commit
ef7fe81b85
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue