mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
1.0 and the resulting exactly representable value must be marked as float as well,
gcc is hopelessly trash. Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0628f3e8cf
commit
40914d97cc
@ -40,7 +40,7 @@
|
|||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
|
|
||||||
#if CONFIG_FLOAT
|
#if CONFIG_FLOAT
|
||||||
# define SHR(a,b) ((a)*(1.0/(1<<(b))))
|
# define SHR(a,b) ((a)*(1.0f/(1<<(b))))
|
||||||
# define compute_antialias compute_antialias_float
|
# define compute_antialias compute_antialias_float
|
||||||
# define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
|
# define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
|
||||||
# define FIXR(x) ((float)(x))
|
# define FIXR(x) ((float)(x))
|
||||||
|
Loading…
Reference in New Issue
Block a user