aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-24 11:27:12 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-24 11:27:12 +0000
commitf7d78f3654f8181fb889000dfc2b9a91ca85e418 (patch)
tree2dd03806da8128c531f95b35a28cfb245e405ff0 /libavformat/rtpproto.c
parent3565e10b44cc978b75a5179191bc4a3c946a2e4a (diff)
downloadffmpeg-f7d78f3654f8181fb889000dfc2b9a91ca85e418.tar.gz
replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 73f07c6ccd..f56b63f534 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avformat.h"
+#include "avstring.h"
#include <unistd.h>
#include <stdarg.h>
@@ -72,11 +73,11 @@ static void url_add_option(char *buf, int buf_size, const char *fmt, ...)
va_start(ap, fmt);
if (strchr(buf, '?'))
- pstrcat(buf, buf_size, "&");
+ av_strlcat(buf, "&", buf_size);
else
- pstrcat(buf, buf_size, "?");
+ av_strlcat(buf, "?", buf_size);
vsnprintf(buf1, sizeof(buf1), fmt, ap);
- pstrcat(buf, buf_size, buf1);
+ av_strlcat(buf, buf1, buf_size);
va_end(ap);
}