diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-11 16:09:52 +0000 |
commit | f78108598211053d41752a83e0345441bb9014ae (patch) | |
tree | dd2fc7ae0a1aea7bda4942ab0c453d1e55284b37 /media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch | |
parent | dc45b83b28fb83e9659492066e347b8dc60bc9e3 (diff) |
gentoo resync : 11.02.2018
Diffstat (limited to 'media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch')
-rw-r--r-- | media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch b/media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch deleted file mode 100644 index a448d0849458..000000000000 --- a/media-video/mplayer/files/mplayer-1.2_pre20150730-chan.patch +++ /dev/null @@ -1,25 +0,0 @@ -r37447 | rtogni | 2015-08-14 21:30:34 +0200 (Fri, 14 Aug 2015) | 3 lines - -Replace deprecated avctx->request_channels with request_channel_layout - -Index: libmpcodecs/ad_ffmpeg.c -=================================================================== ---- libmpcodecs/ad_ffmpeg.c (revision 37446) -+++ libmpcodecs/ad_ffmpeg.c (revision 37447) -@@ -46,6 +46,7 @@ - - #include "libavcodec/avcodec.h" - #include "libavutil/dict.h" -+#include "libavutil/channel_layout.h" - - struct adctx { - int last_samplerate; -@@ -127,7 +128,7 @@ - lavc_context->bits_per_coded_sample = sh_audio->wf->wBitsPerSample; - } - lavc_context->channel_layout = sh_audio->channel_layout; -- lavc_context->request_channels = audio_output_channels; -+ lavc_context->request_channel_layout = av_get_default_channel_layout(audio_output_channels); - lavc_context->codec_tag = sh_audio->format; //FOURCC - lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi - |