libavformat/mov: limit nb_frames_for_fps to INT_MAX
authorDan Sanders <sandersd@google.com>
Mon, 22 Apr 2019 18:05:00 +0000 (11:05 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 23 Apr 2019 20:13:34 +0000 (22:13 +0200)
commit22c820f509043afb73682ff4bc82ef006af2a74a
tree4862322dcfb1acddb40d0a7efa9b08568e02e8c8
parent4a69b18242dc39ee50993d55e985d3b2cbbef10b
libavformat/mov: limit nb_frames_for_fps to INT_MAX

It's this or add overflow detection in mov_read_header().

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c