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
3187277e
Commit
3187277e
authored
May 01, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/wmalosslessdec: Fix memset sizeof
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
52623ef7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wmalosslessdec.c
libavcodec/wmalosslessdec.c
+1
-1
No files found.
libavcodec/wmalosslessdec.c
View file @
3187277e
...
@@ -717,7 +717,7 @@ static void lms_update(WmallDecodeCtx *s, int ich, int ilms, int input)
...
@@ -717,7 +717,7 @@ static void lms_update(WmallDecodeCtx *s, int ich, int ilms, int input)
s
->
cdlms
[
ich
][
ilms
].
lms_updates
[
recent
+
(
order
>>
3
)]
>>=
1
;
s
->
cdlms
[
ich
][
ilms
].
lms_updates
[
recent
+
(
order
>>
3
)]
>>=
1
;
s
->
cdlms
[
ich
][
ilms
].
recent
=
recent
;
s
->
cdlms
[
ich
][
ilms
].
recent
=
recent
;
memset
(
s
->
cdlms
[
ich
][
ilms
].
lms_updates
+
recent
+
order
,
0
,
memset
(
s
->
cdlms
[
ich
][
ilms
].
lms_updates
+
recent
+
order
,
0
,
sizeof
(
s
->
cdlms
[
ich
][
ilms
].
lms_updates
)
-
4
*
(
recent
+
order
));
sizeof
(
s
->
cdlms
[
ich
][
ilms
].
lms_updates
)
-
sizeof
(
int16_t
)
*
(
recent
+
order
));
}
}
static
void
use_high_update_speed
(
WmallDecodeCtx
*
s
,
int
ich
)
static
void
use_high_update_speed
(
WmallDecodeCtx
*
s
,
int
ich
)
...
...
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