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
be05e83b
Commit
be05e83b
authored
Jun 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Use NSAssert for impossible cases.
parent
e1f09197
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+5
-12
No files found.
modules/gui/macosx/playlist.m
View file @
be05e83b
...
@@ -149,24 +149,17 @@
...
@@ -149,24 +149,17 @@
int
i_return
=
0
;
int
i_return
=
0
;
playlist_item_t
*
p_item
=
NULL
;
playlist_item_t
*
p_item
=
NULL
;
playlist_t
*
p_playlist
=
pl_Yield
(
VLCIntf
);
playlist_t
*
p_playlist
=
pl_Yield
(
VLCIntf
);
if
(
outlineView
!=
o_outline_view
)
NSAssert
(
outlineView
!=
o_outline_view
)
{
vlc_object_release
(
p_playlist
);
return
0
;
}
if
(
item
==
nil
)
if
(
!
item
)
{
/* root object */
p_item
=
p_playlist
->
p_root_category
;
p_item
=
p_playlist
->
p_root_category
;
}
else
else
{
p_item
=
(
playlist_item_t
*
)[
item
pointerValue
];
p_item
=
(
playlist_item_t
*
)[
item
pointerValue
];
}
if
(
p_item
)
if
(
p_item
)
i_return
=
p_item
->
i_children
;
i_return
=
p_item
->
i_children
;
vlc_object_release
(
p_playlist
);
pl_Release
(
VLCIntf
);
return
i_return
>
0
?
i_return
:
0
;
return
i_return
>
0
?
i_return
:
0
;
}
}
...
...
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