From d0d816d8bf0d784721467779069f6cb5975d217f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Guyomarch?= <rguyom@pobox.com>
Date: Sun, 25 Aug 2002 22:54:43 +0000
Subject: =?UTF-8?q?NAN=20doesnt=20exist=20on=20FreeBSD=20patch=20by=20(R?=
 =?UTF-8?q?=C3=A9mi=20Guyomarch=20<rguyom=20at=20pobox=20dot=20com>)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/eval.c | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'libavcodec')

diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 8d06f7fc8a..832af28e62 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -28,6 +28,10 @@
 #include <string.h>
 #include <math.h>
 
+#ifndef NAN
+  #define NAN 0
+#endif
+
 #define STACK_SIZE 100
 
 typedef struct Parser{
-- 
cgit v1.2.3