diff options
author | Martin Storsjö <martin@martin.st> | 2012-02-25 16:08:06 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-02-27 12:07:24 +0200 |
commit | 7e297a46dba68f55b4d83cac5e5646c6485e096a (patch) | |
tree | efa95f31a863bfc80ec7462c1a38c62205a761d3 /libavcodec/vp56data.h | |
parent | 1a6b9a98ceacc3aca35ab354f9e97e3ac01b0ded (diff) | |
download | ffmpeg-7e297a46dba68f55b4d83cac5e5646c6485e096a.tar.gz |
flvdec: Validate index entries added from metadata while reading
By validating the index entries while reading, we don't need to
seek at startup to validate the entries. If the error in the
index entries is not pointing to (our definition of) the start
of packets, and there is an index entry pointing at some of the
first packets after the metadata, the invalid index can be discarded
almost immediately.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/vp56data.h')
0 files changed, 0 insertions, 0 deletions