Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
b1170d85
Commit
b1170d85
authored
Oct 05, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epg: remove dummy cast.
parent
e8d9d1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/epg.c
src/misc/epg.c
+3
-3
No files found.
src/misc/epg.c
View file @
b1170d85
...
...
@@ -57,7 +57,7 @@ void vlc_epg_Clean( vlc_epg_t *p_epg )
void
vlc_epg_AddEvent
(
vlc_epg_t
*
p_epg
,
int64_t
i_start
,
int
i_duration
,
const
char
*
psz_name
,
const
char
*
psz_short_description
,
const
char
*
psz_description
)
{
vlc_epg_event_t
*
p_evt
=
(
vlc_epg_event_t
*
)
malloc
(
sizeof
(
vlc_epg_event_t
)
);
vlc_epg_event_t
*
p_evt
=
malloc
(
sizeof
(
vlc_epg_event_t
)
);
if
(
!
p_evt
)
return
;
p_evt
->
i_start
=
i_start
;
...
...
@@ -65,12 +65,12 @@ void vlc_epg_AddEvent( vlc_epg_t *p_epg, int64_t i_start, int i_duration,
p_evt
->
psz_name
=
psz_name
?
strdup
(
psz_name
)
:
NULL
;
p_evt
->
psz_short_description
=
psz_short_description
?
strdup
(
psz_short_description
)
:
NULL
;
p_evt
->
psz_description
=
psz_description
?
strdup
(
psz_description
)
:
NULL
;
TAB_APPEND
_CPP
(
vlc_epg_event_t
,
p_epg
->
i_event
,
p_epg
->
pp_event
,
p_evt
);
TAB_APPEND
(
p_epg
->
i_event
,
p_epg
->
pp_event
,
p_evt
);
}
vlc_epg_t
*
vlc_epg_New
(
const
char
*
psz_name
)
{
vlc_epg_t
*
p_epg
=
(
vlc_epg_t
*
)
malloc
(
sizeof
(
vlc_epg_t
)
);
vlc_epg_t
*
p_epg
=
malloc
(
sizeof
(
vlc_epg_t
)
);
if
(
p_epg
)
vlc_epg_Init
(
p_epg
,
psz_name
);
return
p_epg
;
...
...
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