Commit 7628b24f authored by Rafaël Carré's avatar Rafaël Carré

avio access: fix setup of libavformat callback

In process-level mode we would call the context-level callback
(cherry picked from commit 58d5803a30527d3299e890c72484acc9b6de48db)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 09409bfd
......@@ -100,7 +100,7 @@ static int SetupAvioCb(vlc_object_t *access)
vlc_mutex_unlock(&avio_lock);
return VLC_EGENERIC;
}
url_set_interrupt_cb(access ? UrlInterruptCallback : NULL);
url_set_interrupt_cb(access ? UrlInterruptCallbackSingle : NULL);
current_access = access;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment