Changeset a31e9f68 in ffmpeg

Timestamp:
Oct 8, 2011, 7:04:22 PM (13 years ago)
Author:
Mans Rullgard <mans@mansr.com>
Branches:
master
Children:
c5db8b4d, d66b9dec
Parents:
bb591566
git-author:
Mans Rullgard <mans@mansr.com> (10/08/11 01:06:26)
git-committer:
Mans Rullgard <mans@mansr.com> (10/08/11 19:04:22)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.