summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ffmpeg/ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index 1dff9b63..c87f8cf6 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -39,6 +39,7 @@
#include <ffmpeg/avutil.h>
#include <ffmpeg/avstring.h>
#define AVERROR_EOF AVERROR(EPIPE)
+#define av_register_protocol register_protocol
#endif