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

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


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:// &

./ffplay -an udp:// &

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

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