[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:44:11 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=5410689

The following commit has been merged in the master branch:
commit 54106894b26f3485812e5dd93fd486d07b285f04
Author: Abhinav Badola <mail.abu.to at gmail.com>
Date:   Thu Jun 19 20:43:50 2014 +0000

    #960: Fixed a small bug found by coverity scan results
---
 src/quicktimevideo.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/quicktimevideo.cpp b/src/quicktimevideo.cpp
index 15d4482..7878314 100644
--- a/src/quicktimevideo.cpp
+++ b/src/quicktimevideo.cpp
@@ -1573,6 +1573,7 @@ namespace Exiv2 {
                 xmpData_["Xmp.video.TimeScale"] = returnBufValue(buf);
                 timeScale_ = returnBufValue(buf); break;
             case Duration:
+                if(timeScale_ != 0) // To prevent division by zero
                 xmpData_["Xmp.video.Duration"] = returnBufValue(buf) * 1000 / timeScale_; break;
             case PreferredRate:
                 xmpData_["Xmp.video.PreferredRate"] = returnBufValue(buf, 2) + ((buf.pData_[2] * 256 + buf.pData_[3]) * 0.01); break;

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list