Merge commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32'

* commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32':
  udp: Fix pkt_size management

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-03-29 22:05:13 +02:00
commit 8344350509
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
goto fail;
}
if (s->pkt_size)
if (s->pkt_size > 0)
h->max_packet_size = s->pkt_size;
p = strchr(uri, '?');