Revision 25968c39 libavformat/udp.c

View differences:

libavformat/udp.c
455 455

  
456 456
    for(;;) {
457 457
        if (!s->is_connected) {
458
        ret = sendto (s->udp_fd, buf, size, 0,
459
                      (struct sockaddr *) &s->dest_addr,
460
                      s->dest_addr_len);
458
            ret = sendto (s->udp_fd, buf, size, 0,
459
                          (struct sockaddr *) &s->dest_addr,
460
                          s->dest_addr_len);
461 461
        } else
462 462
            ret = send(s->udp_fd, buf, size, 0);
463 463
        if (ret < 0) {

Also available in: Unified diff