Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 396968 Details for
Bug 540682
media-gfx/exiv2-0.24-r1 - arithmetic exception errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
exiv2-0.24-fix_arithmetic_exception.patch
exiv2-0.24-fix_arithmetic_exception.patch (text/plain), 1.50 KB, created by
Paolo Pedroni
on 2015-02-19 16:05:21 UTC
(
hide
)
Description:
exiv2-0.24-fix_arithmetic_exception.patch
Filename:
MIME Type:
Creator:
Paolo Pedroni
Created:
2015-02-19 16:05:21 UTC
Size:
1.50 KB
patch
obsolete
>Index: quicktimevideo.cpp >=================================================================== >--- a/src/quicktimevideo.cpp (revision 3536) >+++ b/src/quicktimevideo.cpp (revision 3537) >@@ -1459,9 +1459,9 @@ > break; > case MediaDuration: > if(currentStream_ == Video) >- xmpData_["Xmp.video.MediaDuration"] = returnBufValue(buf)/time_scale; >+ xmpData_["Xmp.video.MediaDuration"] = time_scale ? returnBufValue(buf)/time_scale : 0 ; > else if (currentStream_ == Audio) >- xmpData_["Xmp.audio.MediaDuration"] = returnBufValue(buf)/time_scale; >+ xmpData_["Xmp.audio.MediaDuration"] = time_scale ? returnBufValue(buf)/time_scale : 0; > break; > case MediaLanguageCode: > if(currentStream_ == Video) >@@ -1515,9 +1515,9 @@ > break; > case TrackDuration: > if(currentStream_ == Video) >- xmpData_["Xmp.video.TrackDuration"] = returnBufValue(buf)/timeScale_; >+ xmpData_["Xmp.video.TrackDuration"] = timeScale_ ? returnBufValue(buf)/timeScale_ : 0; > else if(currentStream_ == Audio) >- xmpData_["Xmp.audio.TrackDuration"] = returnBufValue(buf)/timeScale_; >+ xmpData_["Xmp.audio.TrackDuration"] = timeScale_ ? returnBufValue(buf)/timeScale_ : 0; > break; > case TrackLayer: > if(currentStream_ == Video)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 540682
: 396968