Commit 42d00957 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Explicitely include libavutil/mem.h where needed

parent 4a9cc613
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <vlc_avcodec.h> #include <vlc_avcodec.h>
/* ffmpeg header */ /* ffmpeg header */
#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#else #else
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
/* ffmpeg header */ /* ffmpeg header */
#define HAVE_MMX 1 #define HAVE_MMX 1
#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#else #else
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <vlc_cpu.h> #include <vlc_cpu.h>
/* ffmpeg header */ /* ffmpeg header */
#include <libavutil/mem.h>
#define HAVE_MMX 1 #define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <vlc_avcodec.h> #include <vlc_avcodec.h>
/* ffmpeg header */ /* ffmpeg header */
#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
# ifdef HAVE_AVCODEC_VAAPI # ifdef HAVE_AVCODEC_VAAPI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment