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
79ce1078
Commit
79ce1078
authored
Jan 27, 2011
by
Justin Ruggles
Committed by
Michael Niedermayer
Jan 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indentation and spacing
(cherry picked from commit
b5ec6383
)
parent
733dbe7d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
19 deletions
+18
-19
aacdec.c
libavcodec/aacdec.c
+2
-2
ac3dec.c
libavcodec/ac3dec.c
+2
-2
dca.c
libavcodec/dca.c
+6
-7
nellymoserdec.c
libavcodec/nellymoserdec.c
+1
-1
wmadec.c
libavcodec/wmadec.c
+7
-7
No files found.
libavcodec/aacdec.c
View file @
79ce1078
libavcodec/ac3dec.c
View file @
79ce1078
...
...
@@ -195,7 +195,7 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
dsputil_init
(
&
s
->
dsp
,
avctx
);
av_lfg_init
(
&
s
->
dith_state
,
0
);
/* set
bias values
for float to int16 conversion */
/* set
scale value
for float to int16 conversion */
s
->
mul_bias
=
32767
.
0
f
;
/* allow downmixing to stereo or mono */
...
...
libavcodec/dca.c
View file @
79ce1078
...
...
@@ -1846,7 +1846,6 @@ static av_cold int dca_decode_init(AVCodecContext * avctx)
avctx
->
channels
=
avctx
->
request_channels
;
}
return
0
;
}
...
...
libavcodec/nellymoserdec.c
View file @
79ce1078
libavcodec/wmadec.c
View file @
79ce1078
...
...
@@ -792,7 +792,7 @@ static int wma_decode_frame(WMACodecContext *s, int16_t *samples)
for
(
ch
=
0
;
ch
<
MAX_CHANNELS
;
ch
++
)
output
[
ch
]
=
s
->
frame_out
[
ch
];
s
->
dsp
.
float_to_int16_interleave
(
samples
,
output
,
n
,
incr
);
for
(
ch
=
0
;
ch
<
incr
;
ch
++
)
{
for
(
ch
=
0
;
ch
<
incr
;
ch
++
)
{
/* prepare for next block */
memmove
(
&
s
->
frame_out
[
ch
][
0
],
&
s
->
frame_out
[
ch
][
n
],
n
*
sizeof
(
float
));
}
...
...
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