[packages/transcode] - rel 3; fix ffmpeg 2.4 build

arekm arekm at pld-linux.org
Sun Oct 12 21:15:35 CEST 2014


commit 8e49c02e9e7573037d98321def7a0e624661b95b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 12 21:15:16 2014 +0200

    - rel 3; fix ffmpeg 2.4 build

 transcode-1.1.7-ffmpeg-2.4.patch | 13 +++++++++++++
 transcode.spec                   |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/transcode.spec b/transcode.spec
index ccf21a1..154d329 100644
--- a/transcode.spec
+++ b/transcode.spec
@@ -39,6 +39,7 @@ Patch4:		%{name}-1.1.7-ffmpeg.patch
 Patch5:		%{name}-1.1.7-libav-9.patch
 Patch6:		%{name}-1.1.7-preset-force.patch
 Patch7:		%{name}-1.1.7-preset-free.patch
+Patch8:		%{name}-1.1.7-ffmpeg-2.4.patch
 URL:		https://bitbucket.org/france/transcode-tcforge/overview
 %{?with_magick:BuildRequires:	ImageMagick-devel >= 6.4.1-2}
 %{?with_sdl:BuildRequires:	SDL-devel >= 1.2.5}
@@ -151,6 +152,7 @@ Filtry transcode.
 %patch5 -p0
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__libtoolize}
diff --git a/transcode-1.1.7-ffmpeg-2.4.patch b/transcode-1.1.7-ffmpeg-2.4.patch
new file mode 100644
index 0000000..da178c2
--- /dev/null
+++ b/transcode-1.1.7-ffmpeg-2.4.patch
@@ -0,0 +1,13 @@
+diff --git a/import/probe_ffmpeg.c b/import/probe_ffmpeg.c
+index 96d3d49..8e61c51 100644
+--- a/import/probe_ffmpeg.c
++++ b/import/probe_ffmpeg.c
+@@ -120,7 +120,7 @@ void probe_ffmpeg(info_t *ipipe)
+ 
+     translate_info(lavf_dmx_context, ipipe->probe_info);
+ 
+-    av_close_input_file(lavf_dmx_context);
++    avformat_close_input(&lavf_dmx_context);
+     return;
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/transcode.git/commitdiff/8e49c02e9e7573037d98321def7a0e624661b95b



More information about the pld-cvs-commit mailing list