lavf: Dont compare absolute to relative timestamps in duration gcd
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 13:54:43 +0000 (14:54 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Nov 2012 13:59:43 +0000 (14:59 +0100)
commit7ec1fe1f472c2fb1cf0e0b2b89e107a08ac7efe5
tree15f1be3a8590caed4bf7894556e7253b74485368
parent4c6e7c2d4d9810d56ee0770e8c9ad68452e83c58
lavf: Dont compare absolute to relative timestamps in duration gcd

This prevents a division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c