Skip to content
Snippets Groups Projects
Commit 7e297a46 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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: default avatarMartin Storsjö <martin@martin.st>
parent 1a6b9a98
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment