[vlc-devel] commit: Remove unneeded test. ( Rémi Duraffort )

git version control git at videolan.org
Thu Aug 14 00:09:26 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Aug 14 00:12:05 2008 +0200| [a29c8eff1163ab0d218964ceca82d94acf43aadb] | committer: Rémi Duraffort 

Remove unneeded test.

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

 src/input/stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/stream.c b/src/input/stream.c
index dff5c90..5cb4aa2 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -2129,7 +2129,7 @@ block_t *stream_Block( stream_t *s, int i_size )
         {
             return p_bk;
         }
+        block_Release( p_bk );
     }
-    if( p_bk ) block_Release( p_bk );
     return NULL;
 }




More information about the vlc-devel mailing list