udp: Fix local_port management
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 29 Mar 2015 13:19:35 +0000 (15:19 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 22 Jun 2015 07:47:29 +0000 (10:47 +0300)
commit61dc9d647c6664e11674d9a10fdde29987d6acda
tree958a1cdc399a072eb668abb450fa8f5438e0acd6
parent8655c54160767de1a6b96f8bc310d6e4eaceff48
udp: Fix local_port management

The default value for unset is -1, not 0.

Problem introduced in 66028b7ba6b411ba12ef553e9c8f1f4a4fe27710
libavformat/udp.c