diff options
Diffstat (limited to 'media-video/x264-encoder')
-rw-r--r-- | media-video/x264-encoder/files/ffmpeg29.patch | 13 | ||||
-rw-r--r-- | media-video/x264-encoder/x264-encoder-0.0.20150820-r1.ebuild | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/media-video/x264-encoder/files/ffmpeg29.patch b/media-video/x264-encoder/files/ffmpeg29.patch new file mode 100644 index 000000000000..d840c87d9623 --- /dev/null +++ b/media-video/x264-encoder/files/ffmpeg29.patch @@ -0,0 +1,13 @@ +Index: x264-snapshot-20150820-2245/x264.c +=================================================================== +--- x264-snapshot-20150820-2245.orig/x264.c ++++ x264-snapshot-20150820-2245/x264.c +@@ -442,7 +442,7 @@ static void print_csp_names( int longhel + printf( " - valid csps for `lavf' demuxer:\n" ); + printf( INDENT ); + size_t line_len = strlen( INDENT ); +- for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB; i++ ) ++ for( enum AVPixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB; i++ ) + { + const char *pfname = av_get_pix_fmt_name( i ); + if( pfname ) diff --git a/media-video/x264-encoder/x264-encoder-0.0.20150820-r1.ebuild b/media-video/x264-encoder/x264-encoder-0.0.20150820-r1.ebuild index 71259d770424..a837041813e2 100644 --- a/media-video/x264-encoder/x264-encoder-0.0.20150820-r1.ebuild +++ b/media-video/x264-encoder/x264-encoder-0.0.20150820-r1.ebuild @@ -39,7 +39,7 @@ DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { - epatch "${FILESDIR}/gpac.patch" + epatch "${FILESDIR}/gpac.patch" "${FILESDIR}/ffmpeg29.patch" } src_configure() { |