summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavcodec/mathops.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavcodec/mathops.h')
-rw-r--r--contrib/ffmpeg/libavcodec/mathops.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/ffmpeg/libavcodec/mathops.h b/contrib/ffmpeg/libavcodec/mathops.h
index c6ec70597..38b1f5c65 100644
--- a/contrib/ffmpeg/libavcodec/mathops.h
+++ b/contrib/ffmpeg/libavcodec/mathops.h
@@ -19,8 +19,10 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MATHOPS_H
-#define MATHOPS_H
+#ifndef FFMPEG_MATHOPS_H
+#define FFMPEG_MATHOPS_H
+
+#include "common.h"
#ifdef ARCH_X86_32
@@ -34,6 +36,10 @@
#include "ppc/mathops.h"
+#elif defined(ARCH_BFIN)
+
+#include "bfin/mathops.h"
+
#endif
/* generic implementation */
@@ -65,5 +71,5 @@ static av_always_inline int MULH(int a, int b){
# define MUL16(ra, rb) ((ra) * (rb))
#endif
-#endif //MATHOPS_H
+#endif /* FFMPEG_MATHOPS_H */