aebb32748ea23e566c8db6be1b9177898a630384
AVFormatContext::duration was used without checking it was set, calculations for the frame-rate cast -INT64_MAX to a double, scaled it then cast to an integer - overflowing. On my system the result was a negative number so the duration was never usable in practice. Add an explicit check for this so the duration is left at zero instead.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
