summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-12-25 15:02:23 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-12-25 15:02:23 +0000
commitb370640efc26593876e4f022459023dc5c1ec755 (patch)
treebeb51c050d71564a87841a9146915f3511d1462f /src
parentdc194a9cdedd1f78c19f05ba3b2d5126cf66f43f (diff)
downloadxine-lib-b370640efc26593876e4f022459023dc5c1ec755.tar.gz
xine-lib-b370640efc26593876e4f022459023dc5c1ec755.tar.bz2
allow post plugin output's rewire functions to be NULL
CVS patchset: 3677 CVS date: 2002/12/25 15:02:23
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/xine_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c
index 39817b8c9..122befb41 100644
--- a/src/xine-engine/xine_interface.c
+++ b/src/xine-engine/xine_interface.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_interface.c,v 1.34 2002/12/14 18:34:57 esnel Exp $
+ * $Id: xine_interface.c,v 1.35 2002/12/25 15:02:23 mroi Exp $
*
* convenience/abstraction layer, functions to implement
* libxine's public interface
@@ -635,7 +635,7 @@ const xine_post_out_t *xine_post_output(xine_post_t *this_gen, char *name) {
}
int xine_post_wire(xine_post_out_t *source, xine_post_in_t *target) {
- if (source) {
+ if (source && source->rewire) {
if (target) {
if (source->type == target->type)
return source->rewire(source, target->data);