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
3e7eea53
Commit
3e7eea53
authored
Mar 23, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: Don't use void* for pointer arithmetic
parent
101d9834
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/stream_filter/dash/dash.cpp
modules/stream_filter/dash/dash.cpp
+3
-2
No files found.
modules/stream_filter/dash/dash.cpp
View file @
3e7eea53
...
...
@@ -81,7 +81,7 @@ struct stream_sys_t
bool
isLive
;
};
static
int
Read
(
stream_t
*
p_stream
,
void
*
p_
buffe
r
,
unsigned
int
i_len
);
static
int
Read
(
stream_t
*
p_stream
,
void
*
p_
pt
r
,
unsigned
int
i_len
);
static
int
Peek
(
stream_t
*
p_stream
,
const
uint8_t
**
pp_peek
,
unsigned
int
i_peek
);
static
int
Control
(
stream_t
*
p_stream
,
int
i_query
,
va_list
args
);
...
...
@@ -160,10 +160,11 @@ static void Close(vlc_object_t *p_obj)
/*****************************************************************************
* Callbacks:
*****************************************************************************/
static
int
Read
(
stream_t
*
p_stream
,
void
*
p_
buffe
r
,
unsigned
int
i_len
)
static
int
Read
(
stream_t
*
p_stream
,
void
*
p_
pt
r
,
unsigned
int
i_len
)
{
stream_sys_t
*
p_sys
=
(
stream_sys_t
*
)
p_stream
->
p_sys
;
dash
::
DASHManager
*
p_dashManager
=
p_sys
->
p_dashManager
;
uint8_t
*
p_buffer
=
(
uint8_t
*
)
p_ptr
;
int
i_ret
=
0
;
int
i_read
=
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