Revision f7d78f36 libavformat/rtpproto.c

View differences:

libavformat/rtpproto.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21
#include "avformat.h"
22
#include "avstring.h"
22 23

  
23 24
#include <unistd.h>
24 25
#include <stdarg.h>
......
72 73

  
73 74
    va_start(ap, fmt);
74 75
    if (strchr(buf, '?'))
75
        pstrcat(buf, buf_size, "&");
76
        av_strlcat(buf, "&", buf_size);
76 77
    else
77
        pstrcat(buf, buf_size, "?");
78
        av_strlcat(buf, "?", buf_size);
78 79
    vsnprintf(buf1, sizeof(buf1), fmt, ap);
79
    pstrcat(buf, buf_size, buf1);
80
    av_strlcat(buf, buf1, buf_size);
80 81
    va_end(ap);
81 82
}
82 83

  

Also available in: Unified diff