diff options
Diffstat (limited to 'app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch')
-rw-r--r-- | app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch b/app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch new file mode 100644 index 000000000000..c92582a8dd55 --- /dev/null +++ b/app-cdr/k9copy/files/k9copy-2.3.7-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; + } |