aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-29 12:35:14 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-29 12:35:14 +0200
commitcbd19881f7e45a1f98fe1c2ef085a343ed1d0a05 (patch)
treed6a5ddf49f69bba30be3fba27e175a81de006f7f
parentdac030d3aa1bdf73267dbf374d5d9387dad740bb (diff)
downloadffmpeg-cbd19881f7e45a1f98fe1c2ef085a343ed1d0a05.tar.gz
avformat/udp: Remove unused variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/udp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 648efc2e57..9499a72e27 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -1099,7 +1099,6 @@ static int udp_close(URLContext *h)
#if HAVE_PTHREAD_CANCEL
// Request close once writing is finished
if (s->thread_started && !(h->flags & AVIO_FLAG_READ)) {
- int ret;
pthread_mutex_lock(&s->mutex);
s->close_req = 1;
pthread_cond_signal(&s->cond);