Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
85e9e3a9
Commit
85e9e3a9
authored
Jun 06, 2011
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movdec: Add support for the 'wfex' atom.
The 'wfex' is just a Microsoft WaveFormatEx struct.
parent
9a1b7912
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
mov.c
libavformat/mov.c
+14
-0
No files found.
libavformat/mov.c
View file @
85e9e3a9
...
@@ -508,6 +508,19 @@ static int mov_read_dac3(MOVContext *c, AVIOContext *pb, MOVAtom atom)
...
@@ -508,6 +508,19 @@ static int mov_read_dac3(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
0
;
return
0
;
}
}
static
int
mov_read_wfex
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
)
{
AVStream
*
st
;
if
(
c
->
fc
->
nb_streams
<
1
)
return
0
;
st
=
c
->
fc
->
streams
[
c
->
fc
->
nb_streams
-
1
];
ff_get_wav_header
(
pb
,
st
->
codec
,
atom
.
size
);
return
0
;
}
static
int
mov_read_pasp
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
)
static
int
mov_read_pasp
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
)
{
{
const
int
num
=
avio_rb32
(
pb
);
const
int
num
=
avio_rb32
(
pb
);
...
@@ -2247,6 +2260,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
...
@@ -2247,6 +2260,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{
MKTAG
(
'e'
,
's'
,
'd'
,
's'
),
mov_read_esds
},
{
MKTAG
(
'e'
,
's'
,
'd'
,
's'
),
mov_read_esds
},
{
MKTAG
(
'd'
,
'a'
,
'c'
,
'3'
),
mov_read_dac3
},
/* AC-3 info */
{
MKTAG
(
'd'
,
'a'
,
'c'
,
'3'
),
mov_read_dac3
},
/* AC-3 info */
{
MKTAG
(
'w'
,
'i'
,
'd'
,
'e'
),
mov_read_wide
},
/* place holder */
{
MKTAG
(
'w'
,
'i'
,
'd'
,
'e'
),
mov_read_wide
},
/* place holder */
{
MKTAG
(
'w'
,
'f'
,
'e'
,
'x'
),
mov_read_wfex
},
{
MKTAG
(
'c'
,
'm'
,
'o'
,
'v'
),
mov_read_cmov
},
{
MKTAG
(
'c'
,
'm'
,
'o'
,
'v'
),
mov_read_cmov
},
{
0
,
NULL
}
{
0
,
NULL
}
};
};
...
...
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