diff --git a/libavcodec/eval.c b/libavcodec/eval.c index db15f2b5b3..2aabb3bd6c 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -35,7 +35,7 @@ #include #ifndef NAN - #define NAN 0 + #define NAN 0.0/0.0 #endif #ifndef M_PI