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
c10a4dce
Commit
c10a4dce
authored
Jul 05, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSA: simplify and remove scary amd64 warning
parent
82f0bbdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+4
-10
No files found.
modules/mux/mpeg/ts.c
View file @
c10a4dce
...
...
@@ -900,20 +900,14 @@ static int ChangeKeyCallback( vlc_object_t *p_this, char const *psz_cmd,
VLC_UNUSED
(
psz_cmd
);
VLC_UNUSED
(
oldval
);
sout_mux_t
*
p_mux
=
(
sout_mux_t
*
)
p_this
;
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
int
i_tmp
=
(
int
)
p_data
;
int
ret
;
vlc_mutex_lock
(
&
p_sys
->
csa_lock
);
if
(
i_tmp
)
{
i_tmp
=
csa_SetCW
(
p_this
,
p_sys
->
csa
,
newval
.
psz_string
,
true
);
}
else
{
i_tmp
=
csa_SetCW
(
p_this
,
p_sys
->
csa
,
newval
.
psz_string
,
false
);
}
ret
=
csa_SetCW
(
p_this
,
p_sys
->
csa
,
newval
.
psz_string
,
!!
(
intptr_t
)
p_data
);
vlc_mutex_unlock
(
&
p_sys
->
csa_lock
);
return
i_tmp
;
return
ret
;
}
/*****************************************************************************
...
...
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