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
217193fa
Commit
217193fa
authored
Oct 21, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bavformat/mov: add {} to complex ifs
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f72b735d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mov.c
libavformat/mov.c
+4
-4
No files found.
libavformat/mov.c
View file @
217193fa
...
...
@@ -1177,18 +1177,18 @@ enum AVCodecID ff_mov_get_lpcm_codec_id(int bps, int flags)
}
}
else
{
if
(
flags
&
2
)
{
if
(
bps
==
8
)
if
(
bps
==
8
)
{
// signed integer
if
(
flags
&
4
)
return
AV_CODEC_ID_PCM_S8
;
else
return
AV_CODEC_ID_PCM_U8
;
else
if
(
bps
==
16
)
return
AV_CODEC_ID_PCM_S16BE
;
}
else
if
(
bps
==
16
)
return
AV_CODEC_ID_PCM_S16BE
;
else
if
(
bps
==
24
)
return
AV_CODEC_ID_PCM_S24BE
;
else
if
(
bps
==
32
)
return
AV_CODEC_ID_PCM_S32BE
;
}
else
{
if
(
bps
==
8
)
if
(
bps
==
8
)
{
if
(
flags
&
4
)
return
AV_CODEC_ID_PCM_S8
;
else
return
AV_CODEC_ID_PCM_U8
;
else
if
(
bps
==
16
)
return
AV_CODEC_ID_PCM_S16LE
;
}
else
if
(
bps
==
16
)
return
AV_CODEC_ID_PCM_S16LE
;
else
if
(
bps
==
24
)
return
AV_CODEC_ID_PCM_S24LE
;
else
if
(
bps
==
32
)
return
AV_CODEC_ID_PCM_S32LE
;
}
...
...
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