[vlc-devel] commit: dshow: remove impossible case ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jan 28 21:57:17 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 28 22:54:09 2010 +0200| [e983c300f87cf2c3055b1477b3e62288e1611197] | committer: Rémi Denis-Courmont 

dshow: remove impossible case

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e983c300f87cf2c3055b1477b3e62288e1611197
---

 modules/access/dshow/dshow.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index bc0a89b..3210108 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -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 );




More information about the vlc-devel mailing list