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
ba5d2890
Commit
ba5d2890
authored
Sep 10, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adpcm: simplify reading of Funcom ISS frame header.
parent
5c9eb4fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
adpcm.c
libavcodec/adpcm.c
+5
-7
No files found.
libavcodec/adpcm.c
View file @
ba5d2890
...
...
@@ -593,13 +593,11 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
}
break
;
case
CODEC_ID_ADPCM_IMA_ISS
:
c
->
status
[
0
].
predictor
=
(
int16_t
)
AV_RL16
(
src
+
0
);
c
->
status
[
0
].
step_index
=
src
[
2
];
src
+=
4
;
if
(
st
)
{
c
->
status
[
1
].
predictor
=
(
int16_t
)
AV_RL16
(
src
+
0
);
c
->
status
[
1
].
step_index
=
src
[
2
];
src
+=
4
;
for
(
channel
=
0
;
channel
<
avctx
->
channels
;
channel
++
)
{
cs
=
&
c
->
status
[
channel
];
cs
->
predictor
=
(
int16_t
)
bytestream_get_le16
(
&
src
);
cs
->
step_index
=
*
src
++
;
src
++
;
}
while
(
src
<
buf
+
buf_size
)
{
...
...
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