vlc/vlc-2.0 | branch: master | Rafaël Carré <[email protected]> | Tue Jan 31 
17:45:57 2012 -0500| [7628b24f8cf0e44800caed8ff33fcb8fed23e88b] | committer: 
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: Rafaël Carré <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7628b24f8cf0e44800caed8ff33fcb8fed23e88b
---

 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;
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to