summaryrefslogtreecommitdiff
path: root/libavformat/async.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/async.c')
-rw-r--r--libavformat/async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/async.c b/libavformat/async.c
index 9fac84a01a..f4474b866a 100644
--- a/libavformat/async.c
+++ b/libavformat/async.c
@@ -224,7 +224,7 @@ static void *async_buffer_task(void *arg)
pthread_mutex_unlock(&c->mutex);
to_copy = FFMIN(4096, fifo_space);
- ret = ring_generic_write(ring, (void *)h, to_copy, (void *)wrapped_url_read);
+ ret = ring_generic_write(ring, (void *)h, to_copy, wrapped_url_read);
pthread_mutex_lock(&c->mutex);
if (ret <= 0) {