From d0a2e557fb47b3a2376781e88cf28409620cad25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 15 Jun 2008 19:28:26 +0300 Subject: [PATCH] streams are always attached to access - no need for vlc_object_find --- src/input/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/stream.c b/src/input/stream.c index 2aa946dedc..48174e7b85 100644 --- a/src/input/stream.c +++ b/src/input/stream.c @@ -543,7 +543,7 @@ static void AStreamDestroy( stream_t *s ) static void UStreamDestroy( stream_t *s ) { - access_t *p_access = (access_t*)vlc_object_find( s, VLC_OBJECT_ACCESS, FIND_PARENT ); + access_t *p_access = (access_t *)s->p_parent; AStreamDestroy( s ); vlc_object_release( p_access ); access_Delete( p_access ); -- 2.39.2