After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623881 - aiffmux.c divide by zero
aiffmux.c divide by zero
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.19
Other Windows
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-08 20:07 UTC by David Hoyt
Modified: 2010-07-09 14:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes divide-by-zero error. (758 bytes, patch)
2010-07-08 20:07 UTC, David Hoyt
committed Details | Review

Description David Hoyt 2010-07-08 20:07:59 UTC
Created attachment 165516 [details] [review]
Fixes divide-by-zero error.

MSVC emits a divide-by-zero error when compiling aiffmux.c on line 205.

The attached, untested patch resolves the issue on Windows. It hasn't been compiled on other platforms yet.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-09 14:41:01 UTC
Looks good to me. Too bad we can't use isinf(). I'll commit that.