Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/mlt/files: mlt-0.7.6-ffmpeg.patch
Date: Mon, 28 Nov 2011 13:35:34
Message-Id: 20111128133524.535512004C@flycatcher.gentoo.org
1 aballier 11/11/28 13:35:24
2
3 Added: mlt-0.7.6-ffmpeg.patch
4 Log:
5 fix build with ffmpeg git: do not use internal symbols
6
7 (Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mlt/files/mlt-0.7.6-ffmpeg.patch?rev=1.1&content-type=text/plain
14
15 Index: mlt-0.7.6-ffmpeg.patch
16 ===================================================================
17 Do not use ffmpeg internal symbols.
18
19 Index: mlt-0.7.6/src/modules/avformat/filter_avdeinterlace.c
20 ===================================================================
21 --- mlt-0.7.6.orig/src/modules/avformat/filter_avdeinterlace.c
22 +++ mlt-0.7.6/src/modules/avformat/filter_avdeinterlace.c
23 @@ -26,7 +26,9 @@
24
25 // ffmpeg Header files
26 #include <libavformat/avformat.h>
27 +#include <libavcodec/avcodec.h>
28
29 +#if 0
30 #ifdef USE_MMX
31 #include "mmx.h"
32 #else
33 @@ -293,6 +295,7 @@ static int mlt_avpicture_deinterlace(AVP
34 #endif
35 return 0;
36 }
37 +#endif
38
39 /** Do it :-).
40 */
41 @@ -318,7 +321,7 @@ static int filter_get_image( mlt_frame f
42
43 // Fill the picture
44 avpicture_fill( output, *image, PIX_FMT_YUYV422, *width, *height );
45 - mlt_avpicture_deinterlace( output, output, PIX_FMT_YUYV422, *width, *height );
46 + avpicture_deinterlace( output, output, PIX_FMT_YUYV422, *width, *height );
47
48 // Free the picture
49 mlt_pool_release( output );