diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-19 22:49:04 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-19 22:49:04 +0000 |
commit | 4e74187db2f5db52f88729efc662df9d6bc763e1 (patch) | |
tree | 996692f4c32c6ca47c91a23e5f080c822db39817 /libswscale/utils.c | |
parent | 8d2a5139dac63b07f9ef4e1142ee4a2b68bb1fad (diff) | |
download | ffmpeg-4e74187db2f5db52f88729efc662df9d6bc763e1.tar.gz |
Remove PI definition and use M_PI instead.
M_PI is defined by the included file libavutil/mathematics.h.
Originally committed as revision 31185 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index d7a6ea25b0..5dad43bdd9 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -287,7 +287,7 @@ static int initFilter(int16_t **outFilter, int16_t **filterPos, int *outFilterSi } /* else if (flags & SWS_X) { double p= param ? param*0.01 : 0.3; - coeff = d ? sin(d*PI)/(d*PI) : 1.0; + coeff = d ? sin(d*M_PI)/(d*M_PI) : 1.0; coeff*= pow(2.0, - p*d*d); }*/ else if (flags & SWS_X) { |