summaryrefslogtreecommitdiff
path: root/plugins/ffmpeg
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-15 20:06:09 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-15 20:06:09 +0100
commit14d7a950203bbaa2a2fc460c49578e6bff8c4146 (patch)
tree9d6bcad322a44bda0647bfdb753b45adb330141c /plugins/ffmpeg
parent8982489c9bf060bc3b4a9d7513db247269be46eb (diff)
ffmpeg header location checking
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r--plugins/ffmpeg/ffmpeg.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index a3928f85..3709d034 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -16,12 +16,31 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <alloca.h>
+#include <errno.h>
+
#include "../../deadbeef.h"
+
+#if !FFMPEG_OLD
+
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libavutil/avutil.h>
#include <libavutil/avstring.h>
+#else
+
+#include <ffmpeg/avformat.h>
+#include <ffmpeg/avcodec.h>
+#include <ffmpeg/avutil.h>
+#include <ffmpeg/avstring.h>
+
+#endif
+
#define trace(...) { fprintf(stderr, __VA_ARGS__); }
//#define trace(fmt,...)