]> git.sesse.net Git - vlc/commitdiff
* libavformat shouldn't handle .xa files. We have modlib already
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 14 Oct 2005 10:53:55 +0000 (10:53 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Fri, 14 Oct 2005 10:53:55 +0000 (10:53 +0000)
modules/codec/ffmpeg/demux.c

index 5ab0c4725a9d9c7c4c8ed035de8b3acfd7eb5aef..2fa918eb6663209052b8cb16fce9da06c3e46a6e 100644 (file)
@@ -133,7 +133,7 @@ int E_(OpenDemux)( vlc_object_t *p_this )
 
         if( strcasecmp( &p_demux->psz_path[i_len - 4], ".str" ) &&
             strcasecmp( &p_demux->psz_path[i_len - 4], ".xai" ) &&
-            strcasecmp( &p_demux->psz_path[i_len - 4], ".xa" ) )
+            strcasecmp( &p_demux->psz_path[i_len - 3], ".xa" ) )
         {
             return VLC_EGENERIC;
         }