mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32'
* commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32': udp: Fix pkt_size management Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
8344350509
|
@ -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, '?');
|
||||
|
|
Loading…
Reference in New Issue