Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a72b33b0
Commit
a72b33b0
authored
Mar 26, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: remove unused dummy fields warnings
parent
c9cce4e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+10
-1
No files found.
modules/demux/mp4/libmp4.c
View file @
a72b33b0
...
@@ -503,6 +503,7 @@ static int MP4_ReadBox_stra( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -503,6 +503,7 @@ static int MP4_ReadBox_stra( stream_t *p_stream, MP4_Box_t *p_box )
MP4_Box_data_stra_t
*
p_stra
=
p_box
->
data
.
p_stra
;
MP4_Box_data_stra_t
*
p_stra
=
p_box
->
data
.
p_stra
;
uint8_t
i_reserved
;
uint8_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_GET1BYTE
(
p_stra
->
i_es_cat
);
MP4_GET1BYTE
(
p_stra
->
i_es_cat
);
MP4_GET1BYTE
(
i_reserved
);
MP4_GET1BYTE
(
i_reserved
);
MP4_GET2BYTES
(
p_stra
->
i_track_ID
);
MP4_GET2BYTES
(
p_stra
->
i_track_ID
);
...
@@ -595,6 +596,7 @@ static int MP4_ReadBox_sidx( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -595,6 +596,7 @@ static int MP4_ReadBox_sidx( stream_t *p_stream, MP4_Box_t *p_box )
}
}
uint16_t
i_reserved
;
uint16_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_GET2BYTES
(
i_reserved
);
MP4_GET2BYTES
(
i_reserved
);
MP4_GET2BYTES
(
p_sidx_data
->
i_reference_count
);
MP4_GET2BYTES
(
p_sidx_data
->
i_reference_count
);
uint16_t
i_count
=
p_sidx_data
->
i_reference_count
;
uint16_t
i_count
=
p_sidx_data
->
i_reference_count
;
...
@@ -907,6 +909,7 @@ static int MP4_ReadBox_mdhd( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -907,6 +909,7 @@ static int MP4_ReadBox_mdhd( stream_t *p_stream, MP4_Box_t *p_box )
static
int
MP4_ReadBox_hdlr
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
static
int
MP4_ReadBox_hdlr
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
{
{
int32_t
i_reserved
;
int32_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_READBOX_ENTER
(
MP4_Box_data_hdlr_t
);
MP4_READBOX_ENTER
(
MP4_Box_data_hdlr_t
);
...
@@ -1532,7 +1535,9 @@ static int MP4_ReadBox_gnre( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -1532,7 +1535,9 @@ static int MP4_ReadBox_gnre( stream_t *p_stream, MP4_Box_t *p_box )
MP4_READBOX_EXIT
(
0
);
MP4_READBOX_EXIT
(
0
);
uint32_t
i_version
;
uint32_t
i_version
;
VLC_UNUSED
(
i_version
);
uint32_t
i_reserved
;
uint32_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_reserved
);
MP4_GET4BYTES
(
i_reserved
);
MP4_GET2BYTES
(
p_gnre
->
i_genre
);
MP4_GET2BYTES
(
p_gnre
->
i_genre
);
...
@@ -1561,7 +1566,9 @@ static int MP4_ReadBox_trkn( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -1561,7 +1566,9 @@ static int MP4_ReadBox_trkn( stream_t *p_stream, MP4_Box_t *p_box )
MP4_READBOX_EXIT
(
0
);
MP4_READBOX_EXIT
(
0
);
uint32_t
i_version
;
uint32_t
i_version
;
VLC_UNUSED
(
i_version
);
uint32_t
i_reserved
;
uint32_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_reserved
);
MP4_GET4BYTES
(
i_reserved
);
MP4_GET2BYTES
(
i_reserved
);
MP4_GET2BYTES
(
i_reserved
);
...
@@ -1580,7 +1587,6 @@ static int MP4_ReadBox_trkn( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -1580,7 +1587,6 @@ static int MP4_ReadBox_trkn( stream_t *p_stream, MP4_Box_t *p_box )
MP4_READBOX_EXIT
(
1
);
MP4_READBOX_EXIT
(
1
);
}
}
static
int
MP4_ReadBox_sample_soun
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
static
int
MP4_ReadBox_sample_soun
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
{
{
MP4_READBOX_ENTER
(
MP4_Box_data_sample_soun_t
);
MP4_READBOX_ENTER
(
MP4_Box_data_sample_soun_t
);
...
@@ -2694,6 +2700,7 @@ static int MP4_ReadBox_0xa9xxx( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -2694,6 +2700,7 @@ static int MP4_ReadBox_0xa9xxx( stream_t *p_stream, MP4_Box_t *p_box )
/* data box contains a version/flags field */
/* data box contains a version/flags field */
uint32_t
i_version
;
uint32_t
i_version
;
uint32_t
i_reserved
;
uint32_t
i_reserved
;
VLC_UNUSED
(
i_reserved
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_version
);
MP4_GET4BYTES
(
i_reserved
);
MP4_GET4BYTES
(
i_reserved
);
// version should be 0, flags should be 1 for text, 0 for data
// version should be 0, flags should be 1 for text, 0 for data
...
@@ -2741,6 +2748,7 @@ static int MP4_ReadBox_chpl( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -2741,6 +2748,7 @@ static int MP4_ReadBox_chpl( stream_t *p_stream, MP4_Box_t *p_box )
{
{
MP4_Box_data_chpl_t
*
p_chpl
;
MP4_Box_data_chpl_t
*
p_chpl
;
uint32_t
i_dummy
;
uint32_t
i_dummy
;
VLC_UNUSED
(
i_dummy
);
int
i
;
int
i
;
MP4_READBOX_ENTER
(
MP4_Box_data_chpl_t
);
MP4_READBOX_ENTER
(
MP4_Box_data_chpl_t
);
...
@@ -2851,6 +2859,7 @@ static int MP4_ReadBox_meta( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -2851,6 +2859,7 @@ static int MP4_ReadBox_meta( stream_t *p_stream, MP4_Box_t *p_box )
static
int
MP4_ReadBox_iods
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
static
int
MP4_ReadBox_iods
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
{
{
char
i_unused
;
char
i_unused
;
VLC_UNUSED
(
i_unused
);
MP4_READBOX_ENTER
(
MP4_Box_data_iods_t
);
MP4_READBOX_ENTER
(
MP4_Box_data_iods_t
);
MP4_GETVERSIONFLAGS
(
p_box
->
data
.
p_iods
);
MP4_GETVERSIONFLAGS
(
p_box
->
data
.
p_iods
);
...
...
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