OSDN Git Service

avformat/udp: Remove unused variable
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 May 2016 10:35:14 +0000 (12:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 May 2016 10:35:14 +0000 (12:35 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/udp.c

index 648efc2..9499a72 100644 (file)
@@ -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);