Commit 83443505 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ff7adead'

* commit 'ff7adead':
  udp: Fix pkt_size management
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents de2aaf1a ff7adead
......@@ -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, '?');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment