Janne Grunau 10ff052c60 lavf: avoid integer overflow in ff_compute_frame_duration()
Scaling the denominator instead of the numerator if it is too large
loses precision. Fixes an assert caused by a negative frame duration in
the fuzzed sample nasa-8s2.ts_s202310.

CC: libav-stable@libav.org
(cherry picked from commit 7709ce029a7bc101b9ac1ceee607cda10dcb89dc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2013-01-12 19:27:42 +01:00
2012-06-03 19:22:09 +02:00
2011-06-16 20:24:57 +02:00
2011-06-16 20:24:57 +02:00
2011-03-16 21:54:39 +01:00
2011-07-03 20:01:08 +02:00
2012-10-06 09:40:28 +02:00
2011-06-16 20:24:57 +02:00
2011-05-21 13:48:10 +02:00
2011-04-07 02:54:12 +02:00
2013-01-04 07:43:39 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 209 MiB
Languages
C 90.4%
Assembly 7.7%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%