[SCM] wxsvg/master: Drop 0001-fix_ftbs_libav.patch, applied upstream.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Jul 26 08:22:39 UTC 2011


The following commit has been merged in the master branch:
commit b696f55e6b98612bfb1fc33a8ca5f56b6696e0e1
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Jul 26 10:23:19 2011 +0200

    Drop 0001-fix_ftbs_libav.patch, applied upstream.

diff --git a/debian/patches/0001-fix_ftbs_libav.patch b/debian/patches/0001-fix_ftbs_libav.patch
deleted file mode 100644
index 7b93163..0000000
--- a/debian/patches/0001-fix_ftbs_libav.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Description: Fix FTBFS with libav > 0.7
-Author: Fabrice Coutadeur <fabricesp at ubuntu.com>
-Origin: Ubuntu
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632679
----
- src/mediadec_ffmpeg.cpp |   12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
---- wxsvg.orig/src/mediadec_ffmpeg.cpp
-+++ wxsvg/src/mediadec_ffmpeg.cpp
-@@ -50,7 +50,7 @@ void PrintError(const wxString& msg, int
- 	case AVERROR_INVALIDDATA:
- 		wxLogError(wxT("%s: Error while parsing header"), msg.c_str());
- 		break;
--	case AVERROR_NOFMT:
-+	case AVERROR(EILSEQ):
- 		wxLogError(wxT("%s: Unknown format"), msg.c_str());
- 		break;
- 	case AVERROR(EIO):
-@@ -106,7 +106,7 @@ float wxFfmpegMediaDecoder::GetFrameAspe
- 	for (int i=0; i<(int)m_formatCtx->nb_streams; i++) {
- 		AVStream *st = m_formatCtx->streams[i];
- 		AVCodecContext *enc = st->codec;
--		if (enc->codec_type == CODEC_TYPE_VIDEO) {
-+		if (enc->codec_type == AVMEDIA_TYPE_VIDEO) {
- 			if (st->sample_aspect_ratio.num)
- 				frame_aspect_ratio = av_q2d(st->sample_aspect_ratio);
- 			else if (enc->sample_aspect_ratio.num)
-@@ -124,11 +124,11 @@ StreamType wxFfmpegMediaDecoder::GetStre
- 	if (m_formatCtx == NULL || streamIndex >= m_formatCtx->nb_streams)
- 		return stUNKNOWN;
- 	switch (m_formatCtx->streams[streamIndex]->codec->codec_type) {
--	case CODEC_TYPE_VIDEO:
-+	case AVMEDIA_TYPE_VIDEO:
- 		return stVIDEO;
--	case CODEC_TYPE_AUDIO:
-+	case AVMEDIA_TYPE_AUDIO:
- 		return stAUDIO;
--	case CODEC_TYPE_SUBTITLE:
-+	case AVMEDIA_TYPE_SUBTITLE:
- 		return stSUBTITLE;
- 	default:
- 		break;
-@@ -167,7 +167,7 @@ bool wxFfmpegMediaDecoder::OpenVideoDeco
- 	// find the first video stream
- 	m_videoStream = -1;
- 	for (int i=0; i<(int)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;
- 		}
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 4243d78..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-fix_ftbs_libav.patch

-- 
wxsvg packaging



More information about the pkg-multimedia-commits mailing list