aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv_vlc_data.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-02-06 11:32:03 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-09 03:31:17 +0100
commit14d735bd4f7c1dda547d4a4bd3de31536ef11a2a (patch)
tree13aa9d5947b791b3a27b8d37936c88482b305836 /libavcodec/dv_vlc_data.h
parentcb9f7fd34c07de6bceb1fb03057f5f0fe42ca0e8 (diff)
downloadffmpeg-14d735bd4f7c1dda547d4a4bd3de31536ef11a2a.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> (cherry picked from commit 95ec3d4cacd084e2448c3a1aba420e7d8f00e19b)
Diffstat (limited to 'libavcodec/dv_vlc_data.h')
0 files changed, 0 insertions, 0 deletions