]> git.sesse.net Git - vlc/commitdiff
Don't crash in record filter (Closes:#542)
authorClément Stenac <zorglub@videolan.org>
Sat, 11 Feb 2006 14:26:53 +0000 (14:26 +0000)
committerClément Stenac <zorglub@videolan.org>
Sat, 11 Feb 2006 14:26:53 +0000 (14:26 +0000)
modules/access_filter/record.c

index 5bbef108a1604a93cc781857e1272b441fc1bdaf..47989bb7fa14d21d684da5c1efefef9d684bd8f7 100644 (file)
@@ -304,6 +304,7 @@ static void Notify( access_t *p_access, vlc_bool_t b_dump )
     vout_thread_t *p_vout;
 
     p_vout = vlc_object_find( p_access, VLC_OBJECT_VOUT, FIND_ANYWHERE );
+    if( !p_vout ) return;
 
     if( p_vout != p_sys->p_vout )
     {