libavformat/rtsp.c:2175: error: Uninitialized Value
  The value read from payload_type was never initialized.

libavformat/rtsp.c:2175:5: 
2173.                  NULL, 0, s->filename);
2174. 
2175.     snprintf(sdp, sizeof(sdp),
          ^
2176.              "v=0\r\nc=IN IP%d %s\r\nm=%s %d RTP/AVP %d\r\n",
2177.              addr.ss_family == AF_INET ? 4 : 6, host,
