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
dd081f98
Commit
dd081f98
authored
Sep 08, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dct-test: fix order of evaluation bug
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
d40c0e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dct-test.c
libavcodec/dct-test.c
+4
-2
No files found.
libavcodec/dct-test.c
View file @
dd081f98
...
...
@@ -215,8 +215,10 @@ static void init_block(DCTELEM block[64], int test, int is_idct, AVLFG *prng, in
break
;
case
1
:
j
=
av_lfg_get
(
prng
)
%
10
+
1
;
for
(
i
=
0
;
i
<
j
;
i
++
)
block
[
av_lfg_get
(
prng
)
%
64
]
=
av_lfg_get
(
prng
)
%
(
2
*
vals
)
-
vals
;
for
(
i
=
0
;
i
<
j
;
i
++
)
{
int
idx
=
av_lfg_get
(
prng
)
%
64
;
block
[
idx
]
=
av_lfg_get
(
prng
)
%
(
2
*
vals
)
-
vals
;
}
break
;
case
2
:
block
[
0
]
=
av_lfg_get
(
prng
)
%
(
16
*
vals
)
-
(
8
*
vals
);
...
...
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