Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4775a1dd
Commit
4775a1dd
authored
May 09, 2003
by
Laurent Aimar
Browse files
* mp4: fixed mace3/6 decoding. Only mono audio is working on the sample I
have found.
parent
4d4cc838
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
4775a1dd
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.3
0
2003/05/0
7 02:31:20
fenrir Exp $
* $Id: mp4.c,v 1.3
1
2003/05/0
9 19:29:57
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -941,6 +941,20 @@ static int TrackCreateES ( input_thread_t *p_input,
p_soun
->
i_bytes_per_frame
=
34
*
p_soun
->
i_channelcount
;
p_soun
->
i_bytes_per_sample
=
2
;
break
;
case
VLC_FOURCC
(
'M'
,
'A'
,
'C'
,
'3'
):
p_soun
->
i_qt_version
=
1
;
p_soun
->
i_sample_per_packet
=
6
;
p_soun
->
i_bytes_per_packet
=
2
;
p_soun
->
i_bytes_per_frame
=
2
*
p_soun
->
i_channelcount
;
p_soun
->
i_bytes_per_sample
=
2
;
break
;
case
VLC_FOURCC
(
'M'
,
'A'
,
'C'
,
'6'
):
p_soun
->
i_qt_version
=
1
;
p_soun
->
i_sample_per_packet
=
12
;
p_soun
->
i_bytes_per_packet
=
2
;
p_soun
->
i_bytes_per_frame
=
2
*
p_soun
->
i_channelcount
;
p_soun
->
i_bytes_per_sample
=
2
;
break
;
default:
break
;
}
...
...
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