[MPlayer-cvslog] r38667 - in trunk: gui/app/app.c gui/skin/skin.c gui/ui/main.c gui/ui/playbar.c gui/win32/gui.c gui/win32/skinload.c libaf/af_equalizer.c libaf/af_hrtf.c libaf/af_sinesuppress.c libaf/af_tools.c li...
al
subversion at mplayerhq.hu
Sat Dec 14 18:35:19 EET 2024
Author: al
Date: Sat Dec 14 18:35:18 2024
New Revision: 38667
Log:
M_PI is not mandated by the C standard.
Fix part of ticket 2423
Modified:
trunk/gui/app/app.c
trunk/gui/skin/skin.c
trunk/gui/ui/main.c
trunk/gui/ui/playbar.c
trunk/gui/win32/gui.c
trunk/gui/win32/skinload.c
trunk/libaf/af_equalizer.c
trunk/libaf/af_hrtf.c
trunk/libaf/af_sinesuppress.c
trunk/libaf/af_tools.c
trunk/libaf/filter.c
trunk/libaf/window.c
trunk/libass/ass_parse.c
trunk/libass/ass_render.c
trunk/libmpcodecs/dec_teletext.c
trunk/libmpcodecs/vf_geq.c
trunk/libmpcodecs/vf_hue.c
trunk/libmpcodecs/vf_qp.c
trunk/libvo/x11_common.c
trunk/xvid_vbr.c
Modified: trunk/gui/app/app.c
==============================================================================
--- trunk/gui/app/app.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/app/app.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -29,6 +29,7 @@
#include "gui/util/misc.h"
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
/**
* @brief Initialize item counters.
Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/skin/skin.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -40,6 +40,7 @@
#include "libavutil/attributes.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
typedef struct {
const char *name;
Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/ui/main.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -54,6 +54,7 @@
#include "mp_core.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
#include "actions.h"
Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/ui/playbar.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -48,6 +48,7 @@
#include "libmpdemux/stheader.h"
#include "codec-cfg.h"
#include "libavutil/avstring.h"
+#include "libavutil/mathematics.h"
#include "ui.h"
#include "actions.h"
Modified: trunk/gui/win32/gui.c
==============================================================================
--- trunk/gui/win32/gui.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/win32/gui.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -42,6 +42,7 @@
#include "stream/stream.h"
#include "libvo/video_out.h"
#include "libmpcodecs/vd.h"
+#include "libavutil/mathematics.h"
#include "gui/interface.h"
#include "gui/ui/actions.h"
#include "gui/ui/ui.h"
Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/gui/win32/skinload.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -35,6 +35,7 @@
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
+#include "libavutil/mathematics.h"
#include "gui.h"
#include "gui/util/mem.h"
#include "gui/util/bitmap.h"
Modified: trunk/libaf/af_equalizer.c
==============================================================================
--- trunk/libaf/af_equalizer.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/af_equalizer.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -30,6 +30,7 @@
#include <math.h>
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
#include "mp_msg.h"
#include "af.h"
Modified: trunk/libaf/af_hrtf.c
==============================================================================
--- trunk/libaf/af_hrtf.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/af_hrtf.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -27,6 +27,7 @@
#include <math.h>
#include <libavutil/common.h>
+#include <libavutil/mathematics.h>
#include "mp_msg.h"
#include "af.h"
Modified: trunk/libaf/af_sinesuppress.c
==============================================================================
--- trunk/libaf/af_sinesuppress.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/af_sinesuppress.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -28,6 +28,7 @@
#include <math.h>
#include <limits.h>
+#include "libavutil/mathematics.h"
#include "mp_msg.h"
#include "af.h"
Modified: trunk/libaf/af_tools.c
==============================================================================
--- trunk/libaf/af_tools.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/af_tools.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -19,6 +19,7 @@
#include <math.h>
#include <string.h>
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
#include "af.h"
/* Convert to gain value from dB. Returns AF_OK if of and AF_ERROR if
Modified: trunk/libaf/filter.c
==============================================================================
--- trunk/libaf/filter.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/filter.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -22,6 +22,7 @@
#include <string.h>
#include <math.h>
+#include "libavutil/mathematics.h"
#include "dsp.h"
/******************************************************************************
Modified: trunk/libaf/window.c
==============================================================================
--- trunk/libaf/window.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libaf/window.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -26,6 +26,7 @@
*/
#include <math.h>
+#include "libavutil/mathematics.h"
#include "dsp.h"
/*
Modified: trunk/libass/ass_parse.c
==============================================================================
--- trunk/libass/ass_parse.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libass/ass_parse.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -23,6 +23,8 @@
#include <string.h>
#include <math.h>
+#include "libavutil/mathematics.h"
+
#include "ass_render.h"
#include "ass_parse.h"
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libass/ass_render.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -21,6 +21,8 @@
#include <assert.h>
#include <math.h>
+#include "libavutil/mathematics.h"
+
#include "ass_render.h"
#include "ass_parse.h"
#include "ass_shaper.h"
Modified: trunk/libmpcodecs/dec_teletext.c
==============================================================================
--- trunk/libmpcodecs/dec_teletext.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libmpcodecs/dec_teletext.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -105,6 +105,7 @@
#include "help_mp.h"
#include "libmpcodecs/img_format.h"
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
#include "input/input.h"
#include "osdep/timer.h"
Modified: trunk/libmpcodecs/vf_geq.c
==============================================================================
--- trunk/libmpcodecs/vf_geq.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libmpcodecs/vf_geq.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -35,6 +35,7 @@
#include "libavcodec/avcodec.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
+#include "libavutil/mathematics.h"
struct vf_priv_s {
AVExpr * e[3];
Modified: trunk/libmpcodecs/vf_hue.c
==============================================================================
--- trunk/libmpcodecs/vf_hue.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libmpcodecs/vf_hue.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -35,6 +35,8 @@
#include "m_option.h"
#include "m_struct.h"
+#include "libavutil/mathematics.h"
+
static struct vf_priv_s {
uint8_t *buf[2];
float hue;
Modified: trunk/libmpcodecs/vf_qp.c
==============================================================================
--- trunk/libmpcodecs/vf_qp.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libmpcodecs/vf_qp.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -33,6 +33,7 @@
#include "libavcodec/avcodec.h"
#include "libavutil/eval.h"
+#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/libvo/x11_common.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -27,6 +27,7 @@
#include "mp_msg.h"
#include "mp_fifo.h"
#include "libavutil/common.h"
+#include "libavutil/mathematics.h"
#include "libavutil/avstring.h"
#include "x11_common.h"
Modified: trunk/xvid_vbr.c
==============================================================================
--- trunk/xvid_vbr.c Mon Oct 7 15:24:56 2024 (r38666)
+++ trunk/xvid_vbr.c Sat Dec 14 18:35:18 2024 (r38667)
@@ -31,6 +31,7 @@
#include <math.h>
/* Local headers */
+#include "libavutil/mathematics.h"
#include "xvid_vbr.h"
/******************************************************************************
More information about the MPlayer-cvslog
mailing list