Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f3ea7239
Commit
f3ea7239
authored
Dec 19, 2011
by
Tobias Güntner
Committed by
Rémi Denis-Courmont
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix assertions
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
b00b016b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/input/vlm.c
src/input/vlm.c
+1
-1
test/src/misc/variables.c
test/src/misc/variables.c
+3
-3
No files found.
src/input/vlm.c
View file @
f3ea7239
...
...
@@ -215,7 +215,7 @@ void vlm_Delete( vlm_t *p_vlm )
assert
(
p_vlm
->
users
>
0
);
if
(
--
p_vlm
->
users
==
0
)
{
assert
(
libvlc_priv
(
p_vlm
->
p_libvlc
)
->
p_vlm
=
p_vlm
);
assert
(
libvlc_priv
(
p_vlm
->
p_libvlc
)
->
p_vlm
=
=
p_vlm
);
libvlc_priv
(
p_vlm
->
p_libvlc
)
->
p_vlm
=
NULL
;
}
else
...
...
test/src/misc/variables.c
View file @
f3ea7239
...
...
@@ -324,11 +324,11 @@ static void test_change( libvlc_int_t *p_libvlc )
/* Test everything is right */
var_Change
(
p_libvlc
,
"bla"
,
VLC_VAR_GETMIN
,
&
val
,
NULL
);
assert
(
val
.
i_int
=
i_min
);
assert
(
val
.
i_int
=
=
i_min
);
var_Change
(
p_libvlc
,
"bla"
,
VLC_VAR_GETMAX
,
&
val
,
NULL
);
assert
(
val
.
i_int
=
i_max
);
assert
(
val
.
i_int
=
=
i_max
);
var_Change
(
p_libvlc
,
"bla"
,
VLC_VAR_GETSTEP
,
&
val
,
NULL
);
assert
(
val
.
i_int
=
i_step
);
assert
(
val
.
i_int
=
=
i_step
);
var_Destroy
(
p_libvlc
,
"bla"
);
}
...
...
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