libavformat/rtsp.c:1343: error: Integer Overflow R2
  ([0, +oo] + [0, +oo]):signed32 by call to `ff_rdt_subscribe_rule`.

libavformat/rtsp.c:1293:1: Parameter `s->priv_data->last_subscription.*.strlen`
1291. }
1292. 
1293. static int rtsp_read_packet(AVFormatContext *s,
      ^
1294.                             AVPacket *pkt)
1295. {

libavformat/rtsp.c:1343:29: Call
1341.                                 av_strlcat(rt->last_subscription, ",",
1342.                                            sizeof(rt->last_subscription));
1343.                             ff_rdt_subscribe_rule(
                                  ^
1344.                                 rt->last_subscription,
1345.                                 sizeof(rt->last_subscription), i, rule_nr);

libavformat/rdt.c:384:1: Parameter `cmd->strlen`
  382. }
  383. 
  384. void
       ^
  385. ff_rdt_subscribe_rule (char *cmd, int size,
  386.                        int stream_nr, int rule_nr)

libavformat/rdt.c:388:5: Call
  386.                        int stream_nr, int rule_nr)
  387. {
  388.     av_strlcatf(cmd, size, "stream=%d;rule=%d,stream=%d;rule=%d",
           ^
  389.                 stream_nr, rule_nr * 2, stream_nr, rule_nr * 2 + 1);
  390. }

libavutil/string.c:68:1: <LHS trace>
66. }
67. 
68. size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...)
    ^
69. {
70.     int len = strlen(dst);

libavutil/string.c:68:1: Parameter `size`
    66. }
    67. 
    68. size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...)
        ^
    69. {
    70.     int len = strlen(dst);

libavutil/string.c:74:12: <RHS trace>
72. 
73.     va_start(vl, fmt);
74.     len += vsnprintf(dst + len, size > len ? size - len : 0, fmt, vl);
               ^
75.     va_end(vl);
76. 

libavutil/string.c:74:12: Risky value from: vsnprintf
    72. 
    73.     va_start(vl, fmt);
    74.     len += vsnprintf(dst + len, size > len ? size - len : 0, fmt, vl);
                   ^
    75.     va_end(vl);
    76. 

libavutil/string.c:74:5: Binary operation: ([0, +oo] + [0, +oo]):signed32 by call to `ff_rdt_subscribe_rule` 
    72. 
    73.     va_start(vl, fmt);
    74.     len += vsnprintf(dst + len, size > len ? size - len : 0, fmt, vl);
            ^
    75.     va_end(vl);
    76. 
