vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Sun Sep 3 09:33:02 2017 +0200| [e0366698320f0de1b0e190a9a3901cae32df44a0] | committer: Hugo Beauzée-Luyssen
xa: Add alternative header > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0366698320f0de1b0e190a9a3901cae32df44a0 --- modules/demux/xa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/demux/xa.c b/modules/demux/xa.c index 40dc4e08f7..c55632e3b1 100644 --- a/modules/demux/xa.c +++ b/modules/demux/xa.c @@ -96,7 +96,8 @@ static int Open( vlc_object_t * p_this ) /* XA file heuristic */ if( vlc_stream_Peek( p_demux->s, &peek, 10 ) < 10 ) return VLC_EGENERIC; - if( memcmp( peek, "XAI", 4 ) && memcmp( peek, "XAJ", 4 ) ) + if( memcmp( peek, "XAI", 4 ) && memcmp( peek, "XAJ", 4 ) && + memcmp( peek, "XA\0", 4 ) ) return VLC_EGENERIC; if( GetWLE( peek + 8 ) != 1 ) /* format tag */ return VLC_EGENERIC; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
