aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_h264.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-08 02:06:26 +0100
committerReinhard Tartler <siretart@tauware.de>2012-03-18 17:50:35 +0100
commit2c99aa48d7073a6ccdecc7ff1f88a781a5a62a86 (patch)
tree440c108a7e2fa2e7c62c031097ca891c582cc8ff /libavcodec/vaapi_h264.c
parentfdc669fcbb855a35fcc0352d3ab75064b85194a0 (diff)
downloadffmpeg-2c99aa48d7073a6ccdecc7ff1f88a781a5a62a86.tar.gz
lavf: fix signed overflow in avformat_find_stream_info()
On the first iteration through this code, last_dts is always INT64_MIN (AV_NOPTS_VALUE) and the subtraction overflows in an invalid manner. Although the result is only used if the input values are valid, performing the subtraction is still not allowed in a strict environment. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit a31e9f68a426f634e002282885c6c2eb1bfbea44) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vaapi_h264.c')
0 files changed, 0 insertions, 0 deletions