]> git.sesse.net Git - vlc/commitdiff
Explicitely include libavutil/mem.h where needed.
authorKonstantin Pavlov <thresh@videolan.org>
Thu, 16 Aug 2012 18:50:56 +0000 (22:50 +0400)
committerKonstantin Pavlov <thresh@videolan.org>
Thu, 16 Aug 2012 18:50:56 +0000 (22:50 +0400)
libavutil.h doesnt include common.h since lavu 51.39.

modules/codec/avcodec/audio.c
modules/codec/avcodec/subtitle.c
modules/codec/avcodec/video.c

index 65c5da78910b1708c77f9ccecc88033018c752a0..3e0af623affb96f45c9232dd662a93e88e8b6e1a 100644 (file)
@@ -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"
index 202358cbbad5d785b4f09c68ef61f283f6781320..781bb9b3d9283fcfc39c16424c0a74110e9f239d 100644 (file)
@@ -35,6 +35,7 @@
 
 /* ffmpeg header */
 #include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
 #ifdef HAVE_AVCODEC_VAAPI
 #    include <libavcodec/vaapi.h>
 #endif
index ba9be4c2a44445e3822d158d0c718f8eb7760ce4..0921cb51c06f9ed77e1710898bd69e47166503b9 100644 (file)
@@ -45,6 +45,7 @@
 
 /* ffmpeg header */
 #include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
 #ifdef HAVE_AVCODEC_VAAPI
 #    include <libavcodec/vaapi.h>
 #endif