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
411303f8
Commit
411303f8
authored
Jan 26, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mkv: kill warnings.
parent
318b67aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+7
-0
modules/demux/mkv/matroska_segment.hpp
modules/demux/mkv/matroska_segment.hpp
+1
-0
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+8
-0
modules/demux/mkv/mkv.hpp
modules/demux/mkv/mkv.hpp
+0
-13
No files found.
modules/demux/mkv/matroska_segment.cpp
View file @
411303f8
...
...
@@ -28,6 +28,13 @@
#include "demux.hpp"
/* GetFourCC helper */
#define GetFOURCC( p ) __GetFOURCC( (uint8_t*)p )
static
vlc_fourcc_t
__GetFOURCC
(
uint8_t
*
p
)
{
return
VLC_FOURCC
(
p
[
0
],
p
[
1
],
p
[
2
],
p
[
3
]
);
}
/* Destructor */
matroska_segment_c
::~
matroska_segment_c
()
{
...
...
modules/demux/mkv/matroska_segment.hpp
View file @
411303f8
...
...
@@ -27,6 +27,7 @@
#include "mkv.hpp"
#include "Ebml_parser.hpp"
class
chapter_edition_c
;
...
...
modules/demux/mkv/matroska_segment_parse.cpp
View file @
411303f8
...
...
@@ -28,6 +28,14 @@
#include "demux.hpp"
/*****************************************************************************
* Some functions to manipulate memory
*****************************************************************************/
static
inline
char
*
ToUTF8
(
const
UTFstring
&
u
)
{
return
strdup
(
u
.
GetUTF8
().
c_str
()
);
}
/*****************************************************************************
* ParseSeekHead:
*****************************************************************************/
...
...
modules/demux/mkv/mkv.hpp
View file @
411303f8
...
...
@@ -131,19 +131,6 @@ extern "C" {
#define MKV_IS_ID( el, C ) ( EbmlId( (*el) ) == C::ClassInfos.GlobalId )
/*****************************************************************************
* Some functions to manipulate memory
*****************************************************************************/
#define GetFOURCC( p ) __GetFOURCC( (uint8_t*)p )
static
vlc_fourcc_t
__GetFOURCC
(
uint8_t
*
p
)
{
return
VLC_FOURCC
(
p
[
0
],
p
[
1
],
p
[
2
],
p
[
3
]
);
}
static
inline
char
*
ToUTF8
(
const
UTFstring
&
u
)
{
return
strdup
(
u
.
GetUTF8
().
c_str
()
);
}
using
namespace
LIBMATROSKA_NAMESPACE
;
using
namespace
std
;
...
...
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