Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
0b609fa4
Commit
0b609fa4
authored
Feb 21, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: do not spread gcc problems to other compilers
parent
1996bfb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+4
-4
No files found.
modules/demux/mkv.cpp
View file @
0b609fa4
...
...
@@ -585,12 +585,12 @@ static int Open( vlc_object_t * p_this )
if
(
!
s_filename
.
compare
(
p_demux
->
psz_path
))
continue
;
#if __GNUC__ >= 3
if
(
!
s_filename
.
compare
(
s_filename
.
length
()
-
3
,
3
,
"mkv"
)
||
!
s_filename
.
compare
(
s_filename
.
length
()
-
3
,
3
,
"mka"
))
#else
#if defined(__GNUC__) && (__GNUC__ < 3)
if
(
!
s_filename
.
compare
(
"mkv"
,
s_filename
.
length
()
-
3
,
3
)
||
!
s_filename
.
compare
(
"mka"
,
s_filename
.
length
()
-
3
,
3
))
#else
if
(
!
s_filename
.
compare
(
s_filename
.
length
()
-
3
,
3
,
"mkv"
)
||
!
s_filename
.
compare
(
s_filename
.
length
()
-
3
,
3
,
"mka"
))
#endif
{
// test wether this file belongs to the our family
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment