[haiku-bugs] [Haiku] #7341: [mediaconverter] doesn't report correct file details

  • From: "starsseed" <trac@xxxxxxxxxxxx>
  • Date: Sun, 06 Mar 2011 16:13:51 -0000

#7341: [mediaconverter] doesn't report correct file details
-----------------------------------------+-------------------------
 Reporter:  starsseed                    |        Owner:  stippi
     Type:  bug                          |       Status:  new
 Priority:  normal                       |    Milestone:  R1
Component:  Applications/MediaConverter  |      Version:  R1/alpha2
 Keywords:                               |   Blocked By:
 Blocking:                               |  Has a Patch:  0
 Platform:  All                          |
-----------------------------------------+-------------------------
 trunk\src\apps\mediaconverter\MediaFileInfo.cpp line 73 :[[BR]]
 the format string [[BR]]
 "%Ld x %Ld, %Ld fps / %Ld frames"[[BR]]
 is not correct :[[BR]]
 for a 320*240 movie, the reported width is 1030792151360 ( 320 + 240*2^32^
 )

 i.e. "%Ld" read 8 bytes on the stack instead of 4.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7341>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: