Move libm replacements to new header libm.h
ffmpeg.c uses lrintf(), which is missing on some systems. Previously it picked up the replacement via libavutil/internal.h due to HAVE_AV_CONFIG_H being erroneously defined. Moving these replacements to a separate header enables ffmpeg.c to use them without being exposed to internal interfaces. This use of a non-public header is justified by the header in question not being part of the internal interface either. It should rather be considered as part of the build system, which is shared between the libraries and the applications. This header cannot be installed since the tested conditions depend on the compiler. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22399 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Showing
libavutil/libm.h
0 → 100644
Please register or sign in to comment