mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-27 07:35:37 +00:00
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…
x
Reference in New Issue
Block a user