Commit 58d5803a 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
parent b2393f00
...@@ -100,7 +100,7 @@ static int SetupAvioCb(vlc_object_t *access) ...@@ -100,7 +100,7 @@ static int SetupAvioCb(vlc_object_t *access)
vlc_mutex_unlock(&avio_lock); vlc_mutex_unlock(&avio_lock);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
url_set_interrupt_cb(access ? UrlInterruptCallback : NULL); url_set_interrupt_cb(access ? UrlInterruptCallbackSingle : NULL);
current_access = access; 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