[SCM] idjc/master: Add patch from Jonathan Nieder to fix FTBFS with libavcodec 0.7 (Closes: #623797).

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Apr 24 08:05:02 UTC 2011


The following commit has been merged in the master branch:
commit 9280083ec7e1bd725a31eba68b06ac8d8445a746
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun Apr 24 10:04:27 2011 +0200

    Add patch from Jonathan Nieder to fix FTBFS with libavcodec 0.7 (Closes: #623797).

diff --git a/debian/patches/libav-0.7.patch b/debian/patches/libav-0.7.patch
new file mode 100644
index 0000000..d1949ae
--- /dev/null
+++ b/debian/patches/libav-0.7.patch
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with libavcodec 0.7 due to an API change.
+Author: Jonathan Nieder <jrnieder at gmail.com>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623797
+Forwarded: no
+---
+ c/avcodecdecode.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- idjc.orig/c/avcodecdecode.c
++++ idjc/c/avcodecdecode.c
+@@ -232,7 +232,7 @@ int avcodecdecode_reg(struct xlplayer *x
+    for(self->stream = 0; self->stream < self->ic->nb_streams; self->stream++)
+       {
+       self->c = self->ic->streams[self->stream]->codec;
+-      if(self->c->codec_type == CODEC_TYPE_AUDIO)
++      if(self->c->codec_type == AVMEDIA_TYPE_AUDIO)
+          break;
+       }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 91581ee..94152c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ desktop_file.patch
 idjc_script.patch
 # fix-bashism-in-configure.patch
 idjc-twolame.patch
+libav-0.7.patch

-- 
idjc packaging



More information about the pkg-multimedia-commits mailing list