summaryrefslogtreecommitdiff
path: root/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch')
-rw-r--r--community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch b/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch
new file mode 100644
index 000000000..af8c282c0
--- /dev/null
+++ b/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch
@@ -0,0 +1,25 @@
+From 9cbd09b81028679a507f751c206e8f6769fd450c Mon Sep 17 00:00:00 2001
+From: Igor Murzov <e-mail@date.by>
+Date: Thu, 7 Jul 2011 22:31:44 +0400
+Subject: [PATCH 2/2] ffmpeg: version check fix
+
+---
+ plugins/ffmpeg/ffmpeg.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
+index 0cb9955..37c7e80 100644
+--- a/plugins/ffmpeg/ffmpeg.c
++++ b/plugins/ffmpeg/ffmpeg.c
+@@ -718,7 +718,7 @@ ffmpeg_start (void) {
+ ffmpeg_init_exts ();
+ avcodec_init ();
+ av_register_all ();
+-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52, 64, 0)
++#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52, 69, 0)
+ av_register_protocol2 (&vfswrapper, sizeof(vfswrapper));
+ #else
+ av_register_protocol (&vfswrapper);
+--
+1.7.8.4
+