[vlc-commits] avio access: fix setup of libavformat callback

Rafaël Carré git at videolan.org
Mon Mar 5 05:57:09 CET 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | 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é <funman at videolan.org>

> 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;
 



More information about the vlc-commits mailing list