[FFmpeg-cvslog] avcodec/amfenc: move config.h include where it's needed

James Almer git at videolan.org
Wed Nov 29 19:28:25 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Nov 29 14:24:08 2017 -0300| [a198c1386a4f90cd6ae06874d1cdc2e3c0891fb8] | committer: James Almer

avcodec/amfenc: move config.h include where it's needed

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a198c1386a4f90cd6ae06874d1cdc2e3c0891fb8
---

 libavcodec/amfenc.c | 2 ++
 libavcodec/amfenc.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/amfenc.c b/libavcodec/amfenc.c
index 49d64e6946..f8b68070ae 100644
--- a/libavcodec/amfenc.c
+++ b/libavcodec/amfenc.c
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "config.h"
+
 #include "libavutil/avassert.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/hwcontext.h"
diff --git a/libavcodec/amfenc.h b/libavcodec/amfenc.h
index 8b59b506c5..84f0aad2fa 100644
--- a/libavcodec/amfenc.h
+++ b/libavcodec/amfenc.h
@@ -26,7 +26,6 @@
 
 #include "libavutil/fifo.h"
 
-#include "config.h"
 #include "avcodec.h"
 
 



More information about the ffmpeg-cvslog mailing list