Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-09-02 23:20:26 +0300
committerMartin Storsjö <martin@martin.st>2017-09-04 09:42:51 +0300
commit585dc1aecef0371ad6f16cb3750ae2a6da9cf00a (patch)
tree2a132f6c495be275068b6201f41dbbbbdb722395 /tools
parente12f1cd616573795681ce939113ac6cdad4c1f2b (diff)
flvdec: Check the avio_seek return value after reading a metadata packet
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions