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
03684c8f
Commit
03684c8f
authored
Nov 05, 2011
by
Mashiat Sarker Shakkhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement reset_codec()
parent
93d2cabd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+11
-0
No files found.
libavcodec/wmalosslessdec.c
View file @
03684c8f
...
...
@@ -743,6 +743,17 @@ static void clear_codec_buffers(WmallDecodeCtx *s)
}
}
static
void
reset_codec
(
WmallDecodeCtx
*
s
)
{
int
ich
,
ilms
;
s
->
mclms_recent
=
s
->
mclms_order
*
s
->
num_channels
;
for
(
ich
=
0
;
ich
<
s
->
num_channels
;
ich
++
)
for
(
ilms
=
0
;
ilms
<
s
->
cdlms_ttl
[
ich
];
ilms
++
)
s
->
cdlms
[
ich
][
ilms
].
recent
=
s
->
cdlms
[
ich
][
ilms
].
order
;
}
/**
*@brief Decode a single subframe (block).
*@param s codec context
...
...
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