Changeset e70bce6cf627880d284f012bd570b73df9c6d4e8
- Timestamp:
- 01/19/08 13:35:35
(7 months ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1200746135 +0000
- git-parent:
[61fc0c2faabf6c6216721c0a1c55839b9b16eea0]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1200746135 +0000
- Message:
Simplify.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4c4c105 |
re70bce6 |
|
| 2 | 2 | * mosaic.h: |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * Copyright (C) 2004-2005 the VideoLAN team |
|---|
| | 4 | * Copyright (C) 2004-2008 the VideoLAN team |
|---|
| 5 | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| … | … | |
| 42 | 42 | { |
|---|
| 43 | 43 | vlc_object_t *p_libvlc = VLC_OBJECT( p_object->p_libvlc ); |
|---|
| 44 | | bridge_t *p_bridge; |
|---|
| 45 | 44 | vlc_value_t val; |
|---|
| 46 | 45 | |
|---|
| 47 | 46 | if( var_Get( p_libvlc, "mosaic-struct", &val ) != VLC_SUCCESS ) |
|---|
| 48 | 47 | { |
|---|
| 49 | | p_bridge = NULL; |
|---|
| | 48 | return NULL; |
|---|
| 50 | 49 | } |
|---|
| 51 | 50 | else |
|---|
| 52 | 51 | { |
|---|
| 53 | | p_bridge = val.p_address; |
|---|
| | 52 | return val.p_address; |
|---|
| 54 | 53 | } |
|---|
| 55 | | |
|---|
| 56 | | return p_bridge; |
|---|
| 57 | 54 | } |
|---|
| 58 | 55 | |
|---|