1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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

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, '?');