]> git.sesse.net Git - vlc/commitdiff
dshow: remove impossible case
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 28 Jan 2010 20:54:09 +0000 (22:54 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 28 Jan 2010 20:54:09 +0000 (22:54 +0200)
modules/access/dshow/dshow.cpp

index bc0a89b1b475f53bf46b6a633e99ef876ffe5823..3210108d341cfa26f734ec26a25170a9f378239c 100644 (file)
@@ -1708,7 +1708,7 @@ static block_t *ReadCompressed( access_t *p_access )
 
     while( 1 )
     {
-        if( !vlc_object_alive (p_access) || p_access->b_error ) return 0;
+        if( !vlc_object_alive (p_access) ) return NULL;
 
         /* Get new sample/frame from the elementary stream (blocking). */
         vlc_mutex_lock( &p_sys->lock );