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
4775a1dd
Commit
4775a1dd
authored
May 09, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* 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
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+15
-1
No files found.
modules/demux/mp4/mp4.c
View file @
4775a1dd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
* mp4.c : MP4 file input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.3
0 2003/05/07 02:31:20
fenrir Exp $
* $Id: mp4.c,v 1.3
1 2003/05/09 19:29:57
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -941,6 +941,20 @@ static int TrackCreateES ( input_thread_t *p_input,
...
@@ -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_frame
=
34
*
p_soun
->
i_channelcount
;
p_soun
->
i_bytes_per_sample
=
2
;
p_soun
->
i_bytes_per_sample
=
2
;
break
;
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:
default:
break
;
break
;
}
}
...
...
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