[FFmpeg-devel] [PATCH]lavc/mips/iirfilter_mips: Include config.h

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 1 11:37:51 EEST 2017


Hi!

Attached patch fixes a warning when compiling for mips, I suspect it also 
fixes usage of inline asm.

Please comment, Carl Eugen
-------------- next part --------------
From bbb8a20926b679d05af3b668a2822e6e1a97efa7 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Date: Mon, 1 May 2017 10:35:28 +0200
Subject: [PATCH] lavc/mips/iirfilter_mips: Include config.h.

Fixes the following warning:
libavcodec/mips/iirfilter_mips.c:57:5: warning: "HAVE_INLINE_ASM" is not defined
---
 libavcodec/mips/iirfilter_mips.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mips/iirfilter_mips.c b/libavcodec/mips/iirfilter_mips.c
index 74f036f..3a1352a 100644
--- a/libavcodec/mips/iirfilter_mips.c
+++ b/libavcodec/mips/iirfilter_mips.c
@@ -52,6 +52,7 @@
  * Reference: libavcodec/iirfilter.c
  */
 
+#include "config.h"
 #include "libavcodec/iirfilter.h"
 
 #if HAVE_INLINE_ASM
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list