Opened 16 years ago
Last modified 14 years ago
#1403 new defect
Bind failed when lauching mplayer with rtp url
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | streaming |
Version: | unspecified | Severity: | blocker |
Keywords: | Cc: | konks@… | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
When you launch mplayer with : "mplayer rtp://W.X.Y.Z:port", the program exit with the error "Failed to connect to server".
The solution is BSD specific (as the problem seems to appear only on BSD platform):
You must do a "bzero(&server_address, sizeof(struct sockaddr_in);" in the udp_open_stream() in stream/udp.c before using the structure server_address.
Zeroing the struct before using it with bind() is required on BSD platform (with bzero() or memcpy()).
Regards,
Sebastien
Note:
See TracTickets
for help on using tickets.