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
80c5b9a1
Commit
80c5b9a1
authored
Nov 03, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indention
Originally committed as revision 6886 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
152e9a43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
mov.c
libavformat/mov.c
+15
-15
No files found.
libavformat/mov.c
View file @
80c5b9a1
...
@@ -953,21 +953,21 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
...
@@ -953,21 +953,21 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
//Read QT version 1 fields. In version 0 theese dont exist
//Read QT version 1 fields. In version 0 theese dont exist
dprintf
(
"version =%d, isom =%d
\n
"
,
version
,
c
->
isom
);
dprintf
(
"version =%d, isom =%d
\n
"
,
version
,
c
->
isom
);
if
(
!
c
->
isom
)
{
if
(
!
c
->
isom
)
{
if
(
version
==
1
)
{
if
(
version
==
1
)
{
sc
->
sample_size_v1
.
den
=
get_be32
(
pb
);
/* samples per packet */
sc
->
sample_size_v1
.
den
=
get_be32
(
pb
);
/* samples per packet */
get_be32
(
pb
);
/* bytes per packet */
get_be32
(
pb
);
/* bytes per packet */
sc
->
sample_size_v1
.
num
=
get_be32
(
pb
);
/* bytes per frame */
sc
->
sample_size_v1
.
num
=
get_be32
(
pb
);
/* bytes per frame */
get_be32
(
pb
);
/* bytes per sample */
get_be32
(
pb
);
/* bytes per sample */
}
else
if
(
version
==
2
)
{
}
else
if
(
version
==
2
)
{
get_be32
(
pb
);
/* sizeof struct only */
get_be32
(
pb
);
/* sizeof struct only */
st
->
codec
->
sample_rate
=
av_int2dbl
(
get_be64
(
pb
));
/* float 64 */
st
->
codec
->
sample_rate
=
av_int2dbl
(
get_be64
(
pb
));
/* float 64 */
st
->
codec
->
channels
=
get_be32
(
pb
);
st
->
codec
->
channels
=
get_be32
(
pb
);
get_be32
(
pb
);
/* always 0x7F000000 */
get_be32
(
pb
);
/* always 0x7F000000 */
get_be32
(
pb
);
/* bits per channel if sound is uncompressed */
get_be32
(
pb
);
/* bits per channel if sound is uncompressed */
get_be32
(
pb
);
/* lcpm format specific flag */
get_be32
(
pb
);
/* lcpm format specific flag */
get_be32
(
pb
);
/* bytes per audio packet if constant */
get_be32
(
pb
);
/* bytes per audio packet if constant */
get_be32
(
pb
);
/* lpcm frames per audio packet if constant */
get_be32
(
pb
);
/* lpcm frames per audio packet if constant */
}
}
}
}
bits_per_sample
=
av_get_bits_per_sample
(
st
->
codec
->
codec_id
);
bits_per_sample
=
av_get_bits_per_sample
(
st
->
codec
->
codec_id
);
...
...
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