Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-29 23:05:13 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-03-29 23:06:44 +0300
commit83443505090d7749de7ca684f7c338ed0b8cbbab (patch)
treef0d5f0b5235dab042b83fbd5efacc264ba8f0385 /libavformat/udp.c
parentde2aaf1a2a14c07793a99c41596e0b436ec3736d (diff)
parentff7adead0a667e606f5a41dca591f074f9ff2f32 (diff)
Merge commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32'
* commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32': udp: Fix pkt_size management Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index b6a4724309..affa08ea00 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -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, '?');