Fix type of dest_addr_len to respect return value of udp_set_url.

Patch by Luca Abeni.

Originally committed as revision 13114 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Luca Abeni 17 years ago committed by Carl Eugen Hoyos
parent 542c064d1b
commit 397db8ac5e
  1. 2
      libavformat/udp.c

@ -51,7 +51,7 @@ typedef struct {
#else #else
struct sockaddr_storage dest_addr; struct sockaddr_storage dest_addr;
#endif #endif
size_t dest_addr_len; int dest_addr_len;
} UDPContext; } UDPContext;
#define UDP_TX_BUF_SIZE 32768 #define UDP_TX_BUF_SIZE 32768

Loading…
Cancel
Save