[FFmpeg-cvslog] avformat/udp: Remove unused variable

Michael Niedermayer git at videolan.org
Sun May 29 14:40:08 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun May 29 12:35:14 2016 +0200| [cbd19881f7e45a1f98fe1c2ef085a343ed1d0a05] | committer: Michael Niedermayer

avformat/udp: Remove unused variable

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbd19881f7e45a1f98fe1c2ef085a343ed1d0a05
---

 libavformat/udp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index 648efc2..9499a72 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);



More information about the ffmpeg-cvslog mailing list