diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-11-08 11:49:25 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-11-08 11:49:25 +0000 |
commit | 3f2e14a43ae670384f5e632668f692f7868cbdcf (patch) | |
tree | 09e05c0d2f1c4c35462799ea0ef8a28d334087e3 /media-video/mplayer2/files | |
parent | stable ppc ppc64, bug #430206 (diff) | |
download | historical-3f2e14a43ae670384f5e632668f692f7868cbdcf.tar.gz historical-3f2e14a43ae670384f5e632668f692f7868cbdcf.tar.bz2 historical-3f2e14a43ae670384f5e632668f692f7868cbdcf.zip |
add upstream fix to build with recent ffmpeg versions, bug #439604
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'media-video/mplayer2/files')
-rw-r--r-- | media-video/mplayer2/files/mplayer2-2.0_p20120828-ffmpeg.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media-video/mplayer2/files/mplayer2-2.0_p20120828-ffmpeg.patch b/media-video/mplayer2/files/mplayer2-2.0_p20120828-ffmpeg.patch new file mode 100644 index 000000000000..29ec168ef8fc --- /dev/null +++ b/media-video/mplayer2/files/mplayer2-2.0_p20120828-ffmpeg.patch @@ -0,0 +1,18 @@ +http://devel.mplayer2.org/changeset/f5e0365c8e76e2ef797027134f1819e613764d7e/
+http://devel.mplayer2.org/ticket/202
+https://bugs.gentoo.org/show_bug.cgi?id=439604
+
+Index: libmpcodecs/vf_lavc.c
+===================================================================
+--- libmpcodecs/vf_lavc.c (revision db8cdc73e38c3490389212d94ae9b92dfddd5975)
++++ libmpcodecs/vf_lavc.c (revision f5e0365c8e76e2ef797027134f1819e613764d7e)
+@@ -74,9 +74,4 @@
+ if (avcodec_open2(&lavc_venc_context, vf->priv->codec, NULL) != 0) {
+ mp_tmsg(MSGT_VFILTER,MSGL_ERR,"Could not open codec.\n");
+- return 0;
+- }
+-
+- if (lavc_venc_context.codec->encode == NULL) {
+- mp_msg(MSGT_VFILTER,MSGL_ERR,"avcodec init failed (ctx->codec->encode == NULL)!\n");
+ return 0;
+ }
|