summaryrefslogtreecommitdiffstats
path: root/libswresample/options.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2015-05-03 23:07:20 +0200
committerMichael Niedermayer <[email protected]>2015-06-01 23:25:21 +0200
commit25b56dfa5c067440830f4d3e2bef23e75d0a4c80 (patch)
tree0c0346a65d87e660bc015fea3c09076f5bb3de2d /libswresample/options.c
parent3126d6ee02ccdde1beb66ea9e65af5b392117ca6 (diff)
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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit eb9fb508b0e09d85d234fe694333b2005e1d7a7e) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libswresample/options.c')
0 files changed, 0 insertions, 0 deletions