mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
Fix compilation if lavc is compiled as a shared lib. Patch by Panagiotis Issaris <takis@lumumba.luc.ac.be>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11569 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cf230e16c5
commit
264f4670a1
@ -36,8 +36,14 @@
|
|||||||
|
|
||||||
#include "../mp_msg.h"
|
#include "../mp_msg.h"
|
||||||
#include "../cpudetect.h"
|
#include "../cpudetect.h"
|
||||||
|
|
||||||
|
#ifdef USE_LIBAVCODEC_SO
|
||||||
|
#include <ffmpeg/avcodec.h>
|
||||||
|
#include <ffmpeg/dsputil.h>
|
||||||
|
#else
|
||||||
#include "../libavcodec/avcodec.h"
|
#include "../libavcodec/avcodec.h"
|
||||||
#include "../libavcodec/dsputil.h"
|
#include "../libavcodec/dsputil.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MALLOC_H
|
#ifdef HAVE_MALLOC_H
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user