mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/replaygain/rganalysis.c: Fix wrong ifdef for visual C++. Fixes: #437403.
Original commit message from CVS: * gst/replaygain/rganalysis.c: Fix wrong ifdef for visual C++. Fixes: #437403. By Ali Sabil <ali.sabil@gmail.com>.
This commit is contained in:
parent
e8cabbd3fd
commit
6eb0124ae6
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-05-13 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* gst/replaygain/rganalysis.c:
|
||||||
|
Fix wrong ifdef for visual C++. Fixes: #437403.
|
||||||
|
By Ali Sabil <ali.sabil@gmail.com>.
|
||||||
|
|
||||||
2007-05-12 David Schleef <ds@schleef.org>
|
2007-05-12 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* ext/neon/gstneonhttpsrc.c:
|
* ext/neon/gstneonhttpsrc.c:
|
||||||
|
|
|
@ -115,8 +115,10 @@ struct _RgAnalysisCtx
|
||||||
* loudness filter. XFilter[ctx->sample_rate_index] gives the array
|
* loudness filter. XFilter[ctx->sample_rate_index] gives the array
|
||||||
* of the X coefficients (A or B) for the configured sample rate. */
|
* of the X coefficients (A or B) for the configured sample rate. */
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef _MSC_VER
|
||||||
/* Disable double-to-float warning: */
|
/* Disable double-to-float warning: */
|
||||||
|
/* A better solution would be to append 'f' to each constant, but that
|
||||||
|
* makes the code ugly. */
|
||||||
#pragma warning ( disable : 4305 )
|
#pragma warning ( disable : 4305 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -213,7 +215,7 @@ static const gfloat BButter[9][3] = {
|
||||||
{0.94597685600279, -1.89195371200558, 0.94597685600279}
|
{0.94597685600279, -1.89195371200558, 0.94597685600279}
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef _MSC_VER
|
||||||
#pragma warning ( default : 4305 )
|
#pragma warning ( default : 4305 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue