[FFmpeg-devel] UDP multicasts mixed up on receive due to wrong bind()

Jindrich Makovicka makovick
Tue Oct 14 14:57:45 CEST 2008


Hi,

current SVN ffmpeg mixes up two different multicasts with the same
port at the input. For example, when we have two different MPEG-TS
multicast channels, trying

./ffplay -an udp://239.194.10.11:1234 &

./ffplay -an udp://239.194.10.12:1234 &

causes the second command play randomly one of the two multicasts,
depending on whose SDT/PAT arrives first.

Supplying the multicast address to bind() as in the patch fixes the
issue.

Regards,
-- 
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegts.diff
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081014/d38d2285/attachment.bin>



More information about the ffmpeg-devel mailing list