[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/kfile-plugins/avi
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2004-02-01 8:41:19
Message-ID: 20040201084119.D1EAD990D () office ! kde ! org
[Download RAW message or body]

CVS commit by bhards: 

The old "divide by zero" flaw strikes again.

This is a 3.2 backport candidate (given that it causes a crash).

CCMAIL: 72176-done@bugs.kde.org


  M +3 -1      kfile_avi.cpp   1.17


--- kdemultimedia/kfile-plugins/avi/kfile_avi.cpp  #1.16:1.17
@@ -509,5 +509,7 @@ bool KAviPlugin::readInfo( KFileMetaInfo
         KFileMetaInfoGroup group = appendGroup(info, "Technical");
 
+        if (0 != avih_microsecperframe) {
         appendItem(group, "Frame rate", int(1000000 / avih_microsecperframe));
+        }
         appendItem(group, "Resolution", QSize(avih_width, avih_height));
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic