summaryrefslogtreecommitdiff
path: root/multimedia/backlite/backlite-1.0.2-ffmpeg.patch
diff options
context:
space:
mode:
authorRoberto Neri <rneri@libero.it>2011-12-18 08:22:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-18 08:22:19 -0600
commitd152c5be5327c5e6d77d1332ee509a14f9a3bc75 (patch)
tree4438e6c1f4cd49b280d1b3bc20c464b176d5cd91 /multimedia/backlite/backlite-1.0.2-ffmpeg.patch
parent7293c7c76f54f6461539c1346569e7455742196c (diff)
downloadslackbuilds-d152c5be5327c5e6d77d1332ee509a14f9a3bc75.tar.gz
multimedia/backlight: Added (DVD backup utility)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/backlite/backlite-1.0.2-ffmpeg.patch')
-rw-r--r--multimedia/backlite/backlite-1.0.2-ffmpeg.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/backlite/backlite-1.0.2-ffmpeg.patch b/multimedia/backlite/backlite-1.0.2-ffmpeg.patch
new file mode 100644
index 0000000000..c92582a8dd
--- /dev/null
+++ b/multimedia/backlite/backlite-1.0.2-ffmpeg.patch
@@ -0,0 +1,15 @@
+Fix build with ffmpeg/libav trunk after the big bump.
+
+Index: k9copy-2.3.7-Source/src/import/k9avidecode.cpp
+===================================================================
+--- k9copy-2.3.7-Source.orig/src/import/k9avidecode.cpp
++++ k9copy-2.3.7-Source/src/import/k9avidecode.cpp
+@@ -145,7 +145,7 @@ bool k9AviDecode::open(const QString & _
+ // Find the first video stream
+ m_videoStream=-1;
+ for (i=0; i<m_FormatCtx->nb_streams; i++)
+- if (m_FormatCtx->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO) {
++ if (m_FormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
+ m_videoStream=i;
+ break;
+ }