Skip to content
Snippets Groups Projects
Commit a31e9f68 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

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: default avatarMans Rullgard <mans@mansr.com>
parent bb591566
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment