Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2eebef3a
Commit
2eebef3a
authored
Feb 06, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parsed enda atom in mp4 demuxer.
parent
4e29ccba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+17
-0
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.h
+8
-0
No files found.
modules/demux/mp4/libmp4.c
View file @
2eebef3a
...
...
@@ -1136,6 +1136,22 @@ static int MP4_ReadBox_dac3( stream_t *p_stream, MP4_Box_t *p_box )
MP4_READBOX_EXIT
(
1
);
}
static
int
MP4_ReadBox_enda
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
{
MP4_Box_data_enda_t
*
p_enda
;
MP4_READBOX_ENTER
(
MP4_Box_data_enda_t
);
p_enda
=
p_box
->
data
.
p_enda
;
MP4_GET2BYTES
(
p_enda
->
i_little_endian
);
#ifdef MP4_VERBOSE
msg_Dbg
(
p_stream
,
"read box:
\"
enda
\"
little_endian=%d"
,
p_enda
->
i_little_endian
);
#endif
MP4_READBOX_EXIT
(
1
);
}
static
int
MP4_ReadBox_sample_soun
(
stream_t
*
p_stream
,
MP4_Box_t
*
p_box
)
{
unsigned
int
i
;
...
...
@@ -2554,6 +2570,7 @@ static const struct
{
FOURCC_cmvd
,
MP4_ReadBox_cmvd
,
MP4_FreeBox_cmvd
},
{
FOURCC_avcC
,
MP4_ReadBox_avcC
,
MP4_FreeBox_avcC
},
{
FOURCC_dac3
,
MP4_ReadBox_dac3
,
MP4_FreeBox_Common
},
{
FOURCC_enda
,
MP4_ReadBox_enda
,
MP4_FreeBox_Common
},
/* Nothing to do with this box */
{
FOURCC_mdat
,
MP4_ReadBoxSkip
,
MP4_FreeBox_Common
},
...
...
modules/demux/mp4/libmp4.h
View file @
2eebef3a
...
...
@@ -120,6 +120,7 @@
#define FOURCC_alac VLC_FOURCC( 'a', 'l', 'a', 'c' )
#define FOURCC_dac3 VLC_FOURCC( 'd', 'a', 'c', '3' )
#define FOURCC_dec3 VLC_FOURCC( 'd', 'e', 'c', '3' )
#define FOURCC_enda VLC_FOURCC( 'e', 'n', 'd', 'a' )
#define FOURCC_zlib VLC_FOURCC( 'z', 'l', 'i', 'b' )
#define FOURCC_SVQ1 VLC_FOURCC( 'S', 'V', 'Q', '1' )
...
...
@@ -872,6 +873,12 @@ typedef struct
}
MP4_Box_data_dac3_t
;
typedef
struct
{
uint16_t
i_little_endian
;
}
MP4_Box_data_enda_t
;
/*
typedef struct MP4_Box_data__s
{
...
...
@@ -906,6 +913,7 @@ typedef union MP4_Box_data_s
MP4_Box_data_esds_t
*
p_esds
;
MP4_Box_data_avcC_t
*
p_avcC
;
MP4_Box_data_dac3_t
*
p_dac3
;
MP4_Box_data_enda_t
*
p_enda
;
MP4_Box_data_stsz_t
*
p_stsz
;
MP4_Box_data_stz2_t
*
p_stz2
;
...
...
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