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

Steve Lhomme git at videolan.org
Fri Mar 11 15:59:04 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar 11 14:05:07 2016 +0100| [7ddd2f341f6bd54282061fa44d5c96d2dc560256] | committer: Jean-Baptiste Kempf

input:event: don't crash when encountering NAV_ES streams

MKV can have such streams

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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";



More information about the vlc-commits mailing list