mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/udp: Remove unused variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
dac030d3aa
commit
cbd19881f7
@ -1099,7 +1099,6 @@ static int udp_close(URLContext *h)
|
|||||||
#if HAVE_PTHREAD_CANCEL
|
#if HAVE_PTHREAD_CANCEL
|
||||||
// Request close once writing is finished
|
// Request close once writing is finished
|
||||||
if (s->thread_started && !(h->flags & AVIO_FLAG_READ)) {
|
if (s->thread_started && !(h->flags & AVIO_FLAG_READ)) {
|
||||||
int ret;
|
|
||||||
pthread_mutex_lock(&s->mutex);
|
pthread_mutex_lock(&s->mutex);
|
||||||
s->close_req = 1;
|
s->close_req = 1;
|
||||||
pthread_cond_signal(&s->cond);
|
pthread_cond_signal(&s->cond);
|
||||||
|
Loading…
Reference in New Issue
Block a user