Commit 40914d97 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 0628f3e8
......@@ -40,7 +40,7 @@
#include "mathops.h"
#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 FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
# define FIXR(x) ((float)(x))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment