diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-23 03:00:04 +0700 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-22 21:34:54 +0100 |
commit | 706a6f88f46a203adfeada1f3d98262d7cc47e47 (patch) | |
tree | 3b42d47a03cedc795a64e5fa02ada74f74de5049 /plugins/ffmpeg | |
parent | 11fa9174dad72268c5468765ecc81112b1ca95d3 (diff) |
bsd compile fixes
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r-- | plugins/ffmpeg/ffmpeg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c index c87f8cf6..bcaa2632 100644 --- a/plugins/ffmpeg/ffmpeg.c +++ b/plugins/ffmpeg/ffmpeg.c @@ -20,7 +20,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <alloca.h> +//#include <alloca.h> #include <errno.h> #include "../../deadbeef.h" @@ -39,7 +39,10 @@ #include <ffmpeg/avutil.h> #include <ffmpeg/avstring.h> #define AVERROR_EOF AVERROR(EPIPE) + +#if LIBAVFORMAT_VERSION_MAJOR < 53 #define av_register_protocol register_protocol +#endif #endif |