From 866888790951157d9321d3f215e40611a2d600f4 Mon Sep 17 00:00:00 2001 From: Pierre Lamot Date: Wed, 6 Dec 2017 16:06:52 +0100 Subject: [PATCH] asx: fix mimetype and stream Peek ASX is case insensitive Signed-off-by: Jean-Baptiste Kempf --- modules/demux/playlist/asx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c index 83397f87ff..41550b66f4 100644 --- a/modules/demux/playlist/asx.c +++ b/modules/demux/playlist/asx.c @@ -40,6 +40,7 @@ #include #include +#include #include "playlist.h" @@ -136,7 +137,7 @@ static bool PeekASX( stream_t *s ) { const uint8_t *p_peek; return ( vlc_stream_Peek( s->s, &p_peek, 12 ) == 12 - && !memcmp( p_peek, "