[vlc-commits] Explicitely include libavutil/mem.h where needed
Jean-Baptiste Kempf
git at videolan.org
Thu Sep 6 16:54:15 CEST 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 6 16:52:53 2012 +0200| [42d00957d8c69ad4d80b795dde05283236c7546e] | committer: Jean-Baptiste Kempf
Explicitely include libavutil/mem.h where needed
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=42d00957d8c69ad4d80b795dde05283236c7546e
---
modules/codec/avcodec/audio.c | 1 +
modules/codec/avcodec/avcodec.c | 1 +
modules/codec/avcodec/encoder.c | 1 +
modules/codec/avcodec/subtitle.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index c782bb9..7132960 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -35,6 +35,7 @@
#include <vlc_avcodec.h>
/* ffmpeg header */
+#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
#else
diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c
index 187ab89..621f7f3 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -37,6 +37,7 @@
/* ffmpeg header */
#define HAVE_MMX 1
+#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
#else
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 8b72e4c..3dffd18 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -41,6 +41,7 @@
#include <vlc_cpu.h>
/* ffmpeg header */
+#include <libavutil/mem.h>
#define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
diff --git a/modules/codec/avcodec/subtitle.c b/modules/codec/avcodec/subtitle.c
index f3a72e0..219c163 100644
--- a/modules/codec/avcodec/subtitle.c
+++ b/modules/codec/avcodec/subtitle.c
@@ -34,6 +34,7 @@
#include <vlc_avcodec.h>
/* ffmpeg header */
+#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
# ifdef HAVE_AVCODEC_VAAPI
More information about the vlc-commits
mailing list