summaryrefslogtreecommitdiffstats
path: root/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-24 20:01:57 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:33 -0500
commitbf87d87454755614e1565790725021988318ae98 (patch)
tree5ef2ae6906eec7ffca9b4fdb50336c0d60837c07 /multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch
parent96d5e684078f89d510705df576462770c28551fa (diff)
downloadslackbuilds-bf87d87454755614e1565790725021988318ae98.tar.gz
slackbuilds-bf87d87454755614e1565790725021988318ae98.tar.xz
multimedia/kmediafactory: Updated for subversion revision r691.
Added patches for gcc-4.7.x and for ffmpeg-0.11.x, changed deps info Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch')
-rw-r--r--multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch b/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch
new file mode 100644
index 0000000000..93b1bfa8e0
--- /dev/null
+++ b/multimedia/kmediafactory/kmediafactory-0.8.1-ffmpeg0.11.patch
@@ -0,0 +1,19 @@
+--- lib/videofile.cpp.ffmpeg 2012-07-30 04:42:30.000000000 +0000
++++ lib/videofile.cpp 2012-07-30 04:43:24.000000000 +0000
+@@ -58,7 +58,6 @@
+ static bool init=false;
+ if(!init) {
+ av_register_all();
+- avcodec_init();
+ avcodec_register_all();
+ av_log_set_level(0);
+ init=true;
+@@ -66,7 +65,7 @@
+
+ close();
+
+- if ( av_open_input_file(&avFromatContext, QFile::encodeName(filename).constData(), 0L, 0, 0L) != 0 ||
++ if ( avformat_open_input(&avFromatContext, QFile::encodeName(filename).constData(), 0L, 0L) != 0 ||
+ av_find_stream_info(avFromatContext) < 0) {
+ close();
+ }