commit 644e052dca9ebaee2f6c2c4187bb159b6bea5531
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 12 13:56:05 2017 +0000
Patch for ffmpeg-2.8
mplayer-ffmpeg.patch | 12 ++++++++++++
mplayer.spec | 5 ++++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/mplayer-ffmpeg.patch b/mplayer-ffmpeg.patch
index 27c6228..853455b 100644
--- a/mplayer-ffmpeg.patch
+++ b/mplayer-ffmpeg.patch
@@ -162,3 +162,15 @@ diff -up mplayer-export-2014-03-27/Makefile.ffmpeg
mplayer-export-2014-03-27/Mak
codecs.conf.h: codec-cfg$(EXESUF) etc/codecs.conf
./$^ > $@
+diff --git a/libmpcodecs/ad_spdif.c b/libmpcodecs/ad_spdif.c
+index 542c3ff..ef3b960 100644
+--- a/libmpcodecs/ad_spdif.c
++++ b/libmpcodecs/ad_spdif.c
+@@ -130,7 +129,6 @@ static int init(sh_audio_t *sh)
+ break;
+ }
+ }
+- lavf_ctx->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
+ if (AVERROR_PATCHWELCOME == lavf_ctx->oformat->write_header(lavf_ctx)) {
+ mp_msg(MSGT_DECAUDIO,MSGL_INFO,
+ "This codec is not supported by spdifenc.\n");
diff --git a/mplayer.spec b/mplayer.spec
index 3321f19..77d4d26 100644
--- a/mplayer.spec
+++ b/mplayer.spec
@@ -6,7 +6,7 @@
Name: mplayer
Version: 1.1
-Release: 22.%{?pre}%{?dist}
+Release: 23.%{?pre}%{?dist}
Summary: Movie player playing most video formats and DVDs
%if 0%{!?_without_amr:1}
@@ -380,6 +380,9 @@ update-desktop-database &>/dev/null || :
%{_datadir}/mplayer/*.fp
%changelog
+* Thu Jan 12 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1.1-23.20140414svn
+- Patch for ffmpeg-2.8
+
* Sat Jul 12 2014 Julian Sikorski <belegdol(a)fedoraproject.org> -
1.1-22.20140414svn
- 20140414 snapshot