[vlc-devel] commit: AVI demux: kill config_Get ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 20:52:22 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:45:06 2009 +0200| [e83bd71d3c84d899c8c1fcde05a04716a8e2c5de] | committer: Rémi Denis-Courmont 

AVI demux: kill config_Get

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

 modules/demux/avi/avi.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 338e4fe..b477893 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -267,7 +267,8 @@ static int Open( vlc_object_t * p_this )
     p_demux->pf_demux = Demux_Seekable;
 
     /* For unseekable stream, automaticaly use Demux_UnSeekable */
-    if( !p_sys->b_seekable || config_GetInt( p_demux, "avi-interleaved" ) )
+    if( !p_sys->b_seekable
+     || var_InheritInteger( p_demux, "avi-interleaved" ) )
     {
         p_demux->pf_demux = Demux_UnSeekable;
     }
@@ -654,7 +655,7 @@ static int Open( vlc_object_t * p_this )
         goto error;
     }
 
-    i_do_index =  config_GetInt( p_demux, "avi-index" );
+    i_do_index = var_InheritInteger( p_demux, "avi-index" );
     if( i_do_index == 1 ) /* Always fix */
     {
 aviindex:




More information about the vlc-devel mailing list