mirror of https://github.com/FFmpeg/FFmpeg.git
Both the codecpar's width and height, and the SAR num and den are ints, which can overflow. Cast to int64_t, which is what av_reduce takes. Without this, occasionally, display_aspect_ratio can be negative in ffprobe's -show_stream output. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>release/7.1
parent
088bf6e8c1
commit
f8a613d6a8
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue