[FFmpeg-devel] [PATCH] cbrt_tablegen: Include libm.h

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Sep 25 02:24:04 CEST 2012


Needed for cbrtf fallback on systems which lack it.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 libavcodec/cbrt_tablegen.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/cbrt_tablegen.c b/libavcodec/cbrt_tablegen.c
index e0a8e63..babb85a 100644
--- a/libavcodec/cbrt_tablegen.c
+++ b/libavcodec/cbrt_tablegen.c
@@ -21,6 +21,7 @@
  */
 
 #include <stdlib.h>
+#include "libavutil/libm.h"
 #define CONFIG_HARDCODED_TABLES 0
 #include "cbrt_tablegen.h"
 #include "tableprint.h"
-- 
1.7.10.msysgit.1



More information about the ffmpeg-devel mailing list