[packages/gstreamer0.10-ffmpeg: 50/50] format string patch added
jajcus
jajcus at pld-linux.org
Thu Jan 10 12:33:11 CET 2013
commit 4744a193b697bff728371a9ccd96c60bc28bc18e
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Jan 10 12:28:38 2013 +0100
format string patch added
gst-ffmpeg-format_string.patch | 20 ++++++++++++++++++++
gstreamer0.10-ffmpeg.spec | 2 ++
2 files changed, 22 insertions(+)
---
diff --git a/gstreamer0.10-ffmpeg.spec b/gstreamer0.10-ffmpeg.spec
index 40dfc5e..52623b5 100644
--- a/gstreamer0.10-ffmpeg.spec
+++ b/gstreamer0.10-ffmpeg.spec
@@ -18,6 +18,7 @@ License: GPL v2+ and LGPL v2+
Group: Libraries
Source0: http://gstreamer.freedesktop.org/src/gst-ffmpeg/%{gstname}-%{version}.tar.bz2
# Source0-md5: 7f5beacaf1312db2db30a026b36888c4
+Patch0: gst-ffmpeg-format_string.patch
URL: http://gstreamer.net/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.10
@@ -69,6 +70,7 @@ najpopularniejsze formaty multimedialne.
%prep
%setup -q -n %{gstname}-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/gst-ffmpeg-format_string.patch b/gst-ffmpeg-format_string.patch
new file mode 100644
index 0000000..6525b68
--- /dev/null
+++ b/gst-ffmpeg-format_string.patch
@@ -0,0 +1,20 @@
+--- gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/srtdec.c.orig 2013-01-10 11:03:35.000000000 +0100
++++ gst-ffmpeg-0.10.13/gst-libs/ext/libav/libavcodec/srtdec.c 2013-01-10 11:04:47.000000000 +0100
+@@ -110,7 +110,7 @@
+ for (j=sptr-2; j>=0; j--)
+ if (stack[j].param[i][0]) {
+ out += snprintf(out, out_end-out,
+- stack[j].param[i]);
++ "%s", stack[j].param[i]);
+ break;
+ }
+ } else {
+@@ -146,7 +146,7 @@
+ for (i=0; i<PARAM_NUMBER; i++)
+ if (stack[sptr].param[i][0])
+ out += snprintf(out, out_end-out,
+- stack[sptr].param[i]);
++ "%s", stack[sptr].param[i]);
+ }
+ } else if (!buffer[1] && strspn(buffer, "bisu") == 1) {
+ out += snprintf(out, out_end-out,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-ffmpeg.git/commitdiff/4744a193b697bff728371a9ccd96c60bc28bc18e
More information about the pld-cvs-commit
mailing list