Commit d0a2e557 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

streams are always attached to access - no need for vlc_object_find

parent 320337e0
...@@ -543,7 +543,7 @@ static void AStreamDestroy( stream_t *s ) ...@@ -543,7 +543,7 @@ static void AStreamDestroy( stream_t *s )
static void UStreamDestroy( 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 ); AStreamDestroy( s );
vlc_object_release( p_access ); vlc_object_release( p_access );
access_Delete( p_access ); access_Delete( p_access );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment