From 1ac31760442a568ceb8bdb5d93e3159352efb627 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Mon, 5 Jul 2004 19:19:04 +0000 Subject: [PATCH] ugly missing lrintf workaround by ("Steven M. Schultz" <sms at 2bsd dot com>) Originally committed as revision 3289 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + libavcodec/resample2.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index af87833f1e4..5f501873865 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -20,6 +20,7 @@ #include <limits.h> #include "avformat.h" #include "framehook.h" +#include "dsputil.h" #ifndef CONFIG_WIN32 #include <unistd.h> diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c index 47eeb0a2d8e..7a19715ce4b 100644 --- a/libavcodec/resample2.c +++ b/libavcodec/resample2.c @@ -26,6 +26,7 @@ #include "avcodec.h" #include "common.h" +#include "dsputil.h" #define PHASE_SHIFT 10 #define PHASE_COUNT (1<<PHASE_SHIFT) -- GitLab