[vlc-commits] extractor: fix invalid dereference

Rémi Denis-Courmont git at videolan.org
Sat Apr 22 17:47:57 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 22 18:47:32 2017 +0300| [6657a82c63d9322c211a14121b95faf463abdb20] | committer: Rémi Denis-Courmont

extractor: fix invalid dereference

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

 src/input/stream_extractor.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/stream_extractor.c b/src/input/stream_extractor.c
index 00cf5ee624..128c2a0ca9 100644
--- a/src/input/stream_extractor.c
+++ b/src/input/stream_extractor.c
@@ -184,10 +184,7 @@ se_DirControl( stream_t* stream, int req, va_list args )
     (void)stream;
 
     if( req == STREAM_IS_DIRECTORY )
-    {
-        *va_arg( args, bool* ) = true;
         return VLC_SUCCESS;
-    }
 
     return VLC_EGENERIC;
 }



More information about the vlc-commits mailing list