aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/eac3_data.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-25 16:08:06 +0200
committerMartin Storsjö <martin@martin.st>2012-02-27 12:07:24 +0200
commit7e297a46dba68f55b4d83cac5e5646c6485e096a (patch)
treeefa95f31a863bfc80ec7462c1a38c62205a761d3 /libavcodec/eac3_data.c
parent1a6b9a98ceacc3aca35ab354f9e97e3ac01b0ded (diff)
downloadffmpeg-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/eac3_data.c')
0 files changed, 0 insertions, 0 deletions