]> git.pld-linux.org Git - packages/gstreamer0.10-ffmpeg.git/commitdiff
format string patch added
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 10 Jan 2013 11:28:38 +0000 (12:28 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 10 Jan 2013 11:28:38 +0000 (12:28 +0100)
gst-ffmpeg-format_string.patch [new file with mode: 0644]
gstreamer0.10-ffmpeg.spec

diff --git a/gst-ffmpeg-format_string.patch b/gst-ffmpeg-format_string.patch
new file mode 100644 (file)
index 0000000..6525b68
--- /dev/null
@@ -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,
index 40dfc5e3a000cc2babeffd693b9dd998369cae8a..52623b59c7f51fa9c2a10a20b899622cac91cf8b 100644 (file)
@@ -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}
This page took 0.119574 seconds and 4 git commands to generate.