Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 4883957254213e4898b28430598fbb22 > files > 2

gstreamer0.10-ffmpeg-0.10.13-3.mga2.src.rpm

--- gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcodec/srtdec.c.format-strings	2011-07-21 14:55:36.000000000 +0200
+++ gst-ffmpeg-0.10.12/gst-libs/ext/libav/libavcodec/srtdec.c	2011-07-21 14:57:01.000000000 +0200
@@ -110,7 +110,7 @@ static const char *srt_to_ass(AVCodecCon
                                     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 @@ static const char *srt_to_ass(AVCodecCon
                             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,