avformat/utils: Use av_sat_add64() when updating start_time by skip_samples.
authorDale Curtis <dalecurtis@chromium.org>
Thu, 14 May 2020 21:29:15 +0000 (14:29 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 29 May 2020 17:40:36 +0000 (19:40 +0200)
commitf3068be15b361698429ac205ebc728398b4a3cbb
tree1cbd281f11e167b7f414dea7c5f30648ce9c4dd1
parentfc54db32652bc830fba002da19c2ba9ba4508ca5
avformat/utils: Use av_sat_add64() when updating start_time by skip_samples.

Avoids overflow from fuzzed skip_samples values.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c