From 4744a193b697bff728371a9ccd96c60bc28bc18e Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Thu, 10 Jan 2013 12:28:38 +0100 Subject: [PATCH] format string patch added --- gst-ffmpeg-format_string.patch | 20 ++++++++++++++++++++ gstreamer0.10-ffmpeg.spec | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 gst-ffmpeg-format_string.patch 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= 2.60 BuildRequires: automake >= 1:1.10 @@ -69,6 +70,7 @@ najpopularniejsze formaty multimedialne. %prep %setup -q -n %{gstname}-%{version} +%patch0 -p1 %build %{__libtoolize} -- 2.44.0