[Bug 72176] konqueror crashes with mouse over AVI file

Brad Hards bradh at frogmouth.net
Sun Feb 1 08:41:27 GMT 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=72176      
bradh at frogmouth.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From bradh at frogmouth.net  2004-02-01 09:41 -------
Subject: kdemultimedia/kfile-plugins/avi

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 at 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));



More information about the kde-multimedia mailing list