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 @@
#include <vlc_avcodec.h>
/* ffmpeg header */
#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
#else
......
......@@ -37,6 +37,7 @@
/* ffmpeg header */
#define HAVE_MMX 1
#include <libavutil/mem.h>
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
#else
......
......@@ -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>
......
......@@ -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
......
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