]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/mosaic.h
Move string formating functions used in marq to the core.
[vlc] / modules / video_filter / mosaic.h
index 9460f1206aea5510b20c18457dfb13bc0afea80c..49099a4d452699eefd77b3eee7ce142d01368717 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * mosaic.h:
  *****************************************************************************
- * Copyright (C) 2004-2005 VideoLAN (Centrale Réseaux) and its contributors
+ * Copyright (C) 2004-2005 the VideoLAN team
  * $Id$
  *
  * Authors: Antoine Cellerier <dionoea@videolan.org>
@@ -19,7 +19,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 typedef struct bridged_es_t
@@ -40,18 +40,18 @@ typedef struct bridge_t
 #define GetBridge(a) __GetBridge( VLC_OBJECT(a) )
 static bridge_t *__GetBridge( vlc_object_t *p_object )
 {
-    libvlc_t *p_libvlc = p_object->p_libvlc;
+    libvlc_global_data_t *p_libvlc_global = p_object->p_libvlc_global;
     bridge_t *p_bridge;
     vlc_value_t val;
 
-    if( var_Get( p_libvlc, "mosaic-struct", &val ) != VLC_SUCCESS )
+    if( var_Get( p_libvlc_global, "mosaic-struct", &val ) != VLC_SUCCESS )
     {
         p_bridge = NULL;
     }
     else
     {
         p_bridge = val.p_address;
-    }    
+    }
 
     return p_bridge;
 }