From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-cdr/k9copy/files: k9copy-2.3.7-ffmpeg.patch |
Date: | Thu, 28 Apr 2011 21:09:54 |
Message-Id: | 20110428210940.DDDE020054@flycatcher.gentoo.org |
1 | aballier 11/04/28 21:09:40 |
2 | |
3 | Added: k9copy-2.3.7-ffmpeg.patch |
4 | Log: |
5 | fix build with ffmpeg/libav latest git |
6 | |
7 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-cdr/k9copy/files/k9copy-2.3.7-ffmpeg.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: k9copy-2.3.7-ffmpeg.patch |
16 | =================================================================== |
17 | Fix build with ffmpeg/libav trunk after the big bump. |
18 | |
19 | Index: k9copy-2.3.7-Source/src/import/k9avidecode.cpp |
20 | =================================================================== |
21 | --- k9copy-2.3.7-Source.orig/src/import/k9avidecode.cpp |
22 | +++ k9copy-2.3.7-Source/src/import/k9avidecode.cpp |
23 | @@ -145,7 +145,7 @@ bool k9AviDecode::open(const QString & _ |
24 | // Find the first video stream |
25 | m_videoStream=-1; |
26 | for (i=0; i<m_FormatCtx->nb_streams; i++) |
27 | - if (m_FormatCtx->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO) { |
28 | + if (m_FormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) { |
29 | m_videoStream=i; |
30 | break; |
31 | } |