[vlc-commits] Explicitely include libavutil/mem.h where needed.
Konstantin Pavlov
git at videolan.org
Thu Aug 16 20:58:04 CEST 2012
vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Thu Aug 16 22:50:56 2012 +0400| [9368908a0bf3aae5509547e5260449e1d9a0ec74] | committer: Konstantin Pavlov
Explicitely include libavutil/mem.h where needed.
libavutil.h doesnt include common.h since lavu 51.39.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9368908a0bf3aae5509547e5260449e1d9a0ec74
---
modules/codec/avcodec/audio.c | 1 +
modules/codec/avcodec/subtitle.c | 1 +
modules/codec/avcodec/video.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index 65c5da7..3e0af62 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -36,6 +36,7 @@
/* ffmpeg header */
#include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
#if LIBAVUTIL_VERSION_INT >= ((50<<16)+(38<<8)+0)
# include "libavutil/audioconvert.h"
diff --git a/modules/codec/avcodec/subtitle.c b/modules/codec/avcodec/subtitle.c
index 202358c..781bb9b 100644
--- a/modules/codec/avcodec/subtitle.c
+++ b/modules/codec/avcodec/subtitle.c
@@ -35,6 +35,7 @@
/* ffmpeg header */
#include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
#ifdef HAVE_AVCODEC_VAAPI
# include <libavcodec/vaapi.h>
#endif
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index ba9be4c..0921cb5 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -45,6 +45,7 @@
/* ffmpeg header */
#include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
#ifdef HAVE_AVCODEC_VAAPI
# include <libavcodec/vaapi.h>
#endif
More information about the vlc-commits
mailing list