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
f7e4f296
Commit
f7e4f296
authored
Jul 20, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some const.
parent
2aaa1abe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+7
-5
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+1
-1
No files found.
modules/demux/mkv.cpp
View file @
f7e4f296
...
@@ -1444,7 +1444,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -1444,7 +1444,7 @@ static int Open( vlc_object_t * p_this )
demux_sys_t
*
p_sys
;
demux_sys_t
*
p_sys
;
matroska_stream_c
*
p_stream
;
matroska_stream_c
*
p_stream
;
matroska_segment_c
*
p_segment
;
matroska_segment_c
*
p_segment
;
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek
;
std
::
string
s_path
,
s_filename
;
std
::
string
s_path
,
s_filename
;
vlc_stream_io_callback
*
p_io_callback
;
vlc_stream_io_callback
*
p_io_callback
;
EbmlStream
*
p_io_stream
;
EbmlStream
*
p_io_stream
;
...
@@ -1544,9 +1544,11 @@ static int Open( vlc_object_t * p_this )
...
@@ -1544,9 +1544,11 @@ static int Open( vlc_object_t * p_this )
#endif
#endif
{
{
// test wether this file belongs to our family
// test wether this file belongs to our family
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek
;
bool
file_ok
=
false
;
bool
file_ok
=
false
;
stream_t
*
p_file_stream
=
stream_UrlNew
(
p_demux
,
s_filename
.
c_str
());
stream_t
*
p_file_stream
=
stream_UrlNew
(
p_demux
,
s_filename
.
c_str
());
/* peek the begining */
/* peek the begining */
if
(
p_file_stream
&&
if
(
p_file_stream
&&
stream_Peek
(
p_file_stream
,
&
p_peek
,
4
)
>=
4
stream_Peek
(
p_file_stream
,
&
p_peek
,
4
)
>=
4
...
...
modules/demux/mp4/mp4.c
View file @
f7e4f296
...
@@ -268,7 +268,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -268,7 +268,7 @@ static int Open( vlc_object_t * p_this )
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
;
demux_sys_t
*
p_sys
;
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek
;
MP4_Box_t
*
p_ftyp
;
MP4_Box_t
*
p_ftyp
;
MP4_Box_t
*
p_rmra
;
MP4_Box_t
*
p_rmra
;
...
...
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