summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-08-12 21:05:15 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-08-12 21:05:15 +0000
commitd6f089f10d7db73871001addebc9a4fdfda109bb (patch)
tree421cb222a6c2562676103a91487e7af810394b88 /kde-base/ffmpegthumbs/files
parentMask xv-3.10a-r16, since it breaks saving PNG files (see bug #355883) (diff)
downloadgentoo-2-d6f089f10d7db73871001addebc9a4fdfda109bb.tar.gz
gentoo-2-d6f089f10d7db73871001addebc9a4fdfda109bb.tar.bz2
gentoo-2-d6f089f10d7db73871001addebc9a4fdfda109bb.zip
Fix build against newer ffmpeg / libav, bug 369515
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/ffmpegthumbs/files')
-rw-r--r--kde-base/ffmpegthumbs/files/ffmpegthumbs-4.6.5-libav07.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde-base/ffmpegthumbs/files/ffmpegthumbs-4.6.5-libav07.patch b/kde-base/ffmpegthumbs/files/ffmpegthumbs-4.6.5-libav07.patch
new file mode 100644
index 000000000000..931de168e48b
--- /dev/null
+++ b/kde-base/ffmpegthumbs/files/ffmpegthumbs-4.6.5-libav07.patch
@@ -0,0 +1,11 @@
+--- branches/KDE/4.7/kdemultimedia/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp 2011/07/02 08:19:20 1239063
++++ branches/KDE/4.7/kdemultimedia/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp 2011/07/02 08:23:18 1239064
+@@ -122,7 +122,7 @@
+ void MovieDecoder::initializeVideo()
+ {
+ for (unsigned int i = 0; i < m_pFormatContext->nb_streams; i++) {
+- if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) {
++ if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
+ m_pVideoStream = m_pFormatContext->streams[i];
+ m_VideoStream = i;
+ break;