avformat/udp: fix check for pthread_cond_wait return value
authorZhao Zhili <quinkblack@foxmail.com>
Mon, 21 Jun 2021 14:32:49 +0000 (22:32 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Sat, 10 Jul 2021 07:35:06 +0000 (15:35 +0800)
commit30ca9980ffb885bfdf433302e5338021eef578fe
tree447851801fcab7bbe1e7a6ad7bfb570ec5585900
parent7ee17ec7e46afef0e0af20af196292ec75f50b62
avformat/udp: fix check for pthread_cond_wait return value

POSIX errno is positive. We have strict_pthread_cond_wait to handle
error code during development.

Signed-off-by: zhilizhao <zhilizhao@tencent.com>
Reviewed-by: Jun Zhao <barryjzhao@tencent.com>
libavformat/udp.c