diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-03 23:07:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-21 20:43:37 +0200 |
commit | 454f63181a197d672147ac19fa30b3562f055ce8 (patch) | |
tree | 69a20e5d3d35e8e466eb988e56b31a4aab7cba6a /libavfilter/version.h | |
parent | 9b12e4c1e366614c585c33401e31a2f035dfd196 (diff) | |
download | ffmpeg-454f63181a197d672147ac19fa30b3562f055ce8.tar.gz |
matroskadec: use uint64_t instead of int for index_scale
index_scale is set to matroska->time_scale of type uint64_t.
When index_scale is int, the assignment can overflow and e.g. result
in index_scale = 0. This causes a floating point exception due to the
division by index_scale.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit eb9fb508b0e09d85d234fe694333b2005e1d7a7e)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/version.h')
0 files changed, 0 insertions, 0 deletions