udp: Fix pkt_size management
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 29 Mar 2015 13:19:35 +0000 (15:19 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 29 Mar 2015 15:35:59 +0000 (17:35 +0200)
commitff7adead0a667e606f5a41dca591f074f9ff2f32
tree1cd31f4edc8050848ce61ea8eea1c0179b9ead3f
parent72025ac36c740f031d7e413041fdfe97087c83c4
udp: Fix pkt_size management

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

Problem introduced in 66028b7ba6b411ba12ef553e9c8f1f4a4fe27710

Bug-Id: 835
libavformat/udp.c