summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch')
-rw-r--r--redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch b/redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch
new file mode 100644
index 000000000..057fad5b9
--- /dev/null
+++ b/redhat/applications/k9copy/k9copy-14.0.0-fix_author.patch
@@ -0,0 +1,25 @@
+--- trinity-k9copy/k9author/k9avidecode.cpp.k9author 2013-07-21 09:56:44.000000000 +0200
++++ trinity-k9copy/k9author/k9avidecode.cpp 2013-08-02 12:16:55.398266088 +0200
+@@ -119,6 +119,13 @@
+ m_opened=false;
+
+ glibref++;
++
++ m_FormatCtx = NULL;
++ m_CodecCtx = NULL;
++ m_Codec = NULL;
++ m_Frame = NULL;
++ m_FrameRGB = NULL;
++ m_buffer = NULL;
+ }
+
+
+@@ -148,7 +155,7 @@
+ // Open video file
+ if (
+ # if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
+- avformat_open_input(&m_FormatCtx, _fileName.utf8(), 0, 0)!=0
++ avformat_open_input(&m_FormatCtx, _fileName.utf8(), NULL, NULL)!=0
+ # else
+ av_open_input_file(&m_FormatCtx, _fileName.utf8(), NULL, 0, NULL)!=0
+ # endif