[vlc-commits] avio access: fix setup of libavformat callback
Rafaël Carré
git at videolan.org
Tue Jan 31 23:47:08 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan 31 17:45:57 2012 -0500| [58d5803a30527d3299e890c72484acc9b6de48db] | committer: Rafaël Carré
avio access: fix setup of libavformat callback
In process-level mode we would call the context-level callback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=58d5803a30527d3299e890c72484acc9b6de48db
---
modules/access/avio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/access/avio.c b/modules/access/avio.c
index e85400d..7a17142 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -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;
More information about the vlc-commits
mailing list