[vlc-devel] [PATCH] input:event: don't crash when encountering NAV_ES streams

Steve Lhomme robux4 at videolabs.io
Fri Mar 11 14:05:07 CET 2016


MKV can have such streams
---
 src/input/event.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/input/event.c b/src/input/event.c
index d2d6301..456c4d7 100644
--- a/src/input/event.c
+++ b/src/input/event.c
@@ -266,6 +266,8 @@ static const char *GetEsVarName( int i_cat )
         return "video-es";
     case AUDIO_ES:
         return "audio-es";
+    case NAV_ES:
+        return "nav-es";
     default:
         assert( i_cat == SPU_ES );
         return "spu-es";
-- 
2.7.2.windows.1



More information about the vlc-devel mailing list