aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-05-11 10:53:21 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 10:53:21 +0000
commit397db8ac5e33973abd775bc235cff8ea18a7d5a7 (patch)
tree7857048b20cd36f1f81dd84cb17da3965d5e3e88 /libavformat/udp.c
parent542c064d1bae296fc55c3058f3eda72df7879d4d (diff)
downloadffmpeg-397db8ac5e33973abd775bc235cff8ea18a7d5a7.tar.gz
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
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index aadda98bcd..effe6992ec 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -51,7 +51,7 @@ typedef struct {
#else
struct sockaddr_storage dest_addr;
#endif
- size_t dest_addr_len;
+ int dest_addr_len;
} UDPContext;
#define UDP_TX_BUF_SIZE 32768