[vlc-commits] decoder: Remove dead code

Hugo Beauzée-Luyssen git at videolan.org
Mon Sep 4 12:03:47 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Sep  2 18:58:46 2017 +0200| [af000777de7931d7ecbbdcbc782d1748053de1f9] | committer: Hugo Beauzée-Luyssen

decoder: Remove dead code

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

 src/input/decoder.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index d0148a5fac..109d5a2205 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1005,7 +1005,6 @@ static int DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
     {
         msg_Warn( p_dec, "non-dated video buffer received" );
         goto discard;
-        return 0;
     }
 
     /* */



More information about the vlc-commits mailing list