Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
06d9da98
Commit
06d9da98
authored
Sep 03, 2014
by
Rafaël Carré
Browse files
mp4 demux: use defines for (e)ac-3
parent
511da6e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
06d9da98
...
...
@@ -2355,8 +2355,8 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
p_soun
->
i_qt_version
=
0
;
break
;
}
case
(
VLC_FOURCC
(
'a'
,
'c'
,
'-'
,
'3'
)
):
case
(
VLC_FOURCC
(
'e'
,
'c'
,
'-'
,
'3'
)
):
case
(
ATOM_ac3
):
case
(
ATOM_eac3
):
case
(
VLC_FOURCC
(
'm'
,
's'
,
0x20
,
0x00
)
):
p_soun
->
i_qt_version
=
0
;
break
;
...
...
@@ -2424,7 +2424,7 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
p_track
->
fmt
.
i_codec
=
VLC_CODEC_MPGA
;
break
;
}
case
(
VLC_FOURCC
(
'e'
,
'c'
,
'-'
,
'3'
)
):
case
(
ATOM_eac3
):
{
MP4_Box_t
*
p_dec3_box
=
MP4_BoxGet
(
p_sample
,
"dec3"
,
0
);
...
...
@@ -2438,7 +2438,7 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
}
break
;
}
case
(
VLC_FOURCC
(
'a'
,
'c'
,
'-'
,
'3'
)
):
case
(
ATOM_ac3
):
{
MP4_Box_t
*
p_dac3_box
=
MP4_BoxGet
(
p_sample
,
"dac3"
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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