summaryrefslogtreecommitdiff
path: root/libavcodec/png.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-15 01:35:52 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-15 01:35:52 +0200
commit59c122b3b0a00808e3c4f534927755d89e7baa62 (patch)
tree6b1e55eefb54da3cd8803dd0acac1b77b8837c50 /libavcodec/png.c
parent4b7c52346a2e3cb2d47f8af0b2f036fb9317f502 (diff)
downloadffmpeg-59c122b3b0a00808e3c4f534927755d89e7baa62.tar.gz
matroskadec: add assert on lack of overflow in pkt_size+offset
currently a overflow there should be impossible but future changes to the code could easily introduce a bug that no longer limits the 2 values sufficiently so better protect it via av_assert. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/png.c')
0 files changed, 0 insertions, 0 deletions