aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8data.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-02-06 11:32:03 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-06 21:36:53 -0500
commit95ec3d4cacd084e2448c3a1aba420e7d8f00e19b (patch)
treec6f51f04d9d0a80b4f7848b0ad8daf71c5d28a16 /libavcodec/vp8data.h
parent69ff14920429c9e128a8bcf65ce3f4b4aa93f3d1 (diff)
downloadffmpeg-95ec3d4cacd084e2448c3a1aba420e7d8f00e19b.tar.gz
matroskadec: add generic element length validation.
This validate the length of a mkv element directly after reading it. This has the advantage that it is easy to add new limits and makes it less likely to forget to add checks and also avoids issues like bits of the length value above the first 32 being ignored because the parsing functions only takes an int. Previously discussed in the "mkv 0-byte integer parsing" thread. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/vp8data.h')
0 files changed, 0 insertions, 0 deletions