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
ba9516cc
Commit
ba9516cc
authored
Feb 23, 2011
by
Justin Ruggles
Committed by
Ronald S. Bultje
Feb 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: reindent after previous commit
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
762b386e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
vmdav.c
libavcodec/vmdav.c
+8
-8
No files found.
libavcodec/vmdav.c
View file @
ba9516cc
...
...
@@ -486,15 +486,15 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
memset
(
data
,
0
,
silent_size
);
data
+=
silent_size
;
}
if
(
s
->
bits
==
16
)
vmdaudio_decode_audio
(
s
,
data
,
buf
,
data_size
,
s
->
channels
==
2
);
else
{
/* copy the data but convert it to signed */
for
(
i
=
0
;
i
<
data_size
;
i
++
){
*
data
++
=
buf
[
i
]
+
0x80
;
*
data
++
=
buf
[
i
]
+
0x80
;
}
if
(
s
->
bits
==
16
)
vmdaudio_decode_audio
(
s
,
data
,
buf
,
data_size
,
s
->
channels
==
2
);
else
{
/* copy the data but convert it to signed */
for
(
i
=
0
;
i
<
data_size
;
i
++
){
*
data
++
=
buf
[
i
]
+
0x80
;
*
data
++
=
buf
[
i
]
+
0x80
;
}
}
return
silent_size
+
data_size
*
2
;
}
...
...
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