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
007547b2
Commit
007547b2
authored
Jun 08, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: fix () in TRANSPOSE macro
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7c3af600
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vc1dec.c
libavcodec/vc1dec.c
+1
-1
vp3.c
libavcodec/vp3.c
+1
-1
No files found.
libavcodec/vc1dec.c
View file @
007547b2
...
...
@@ -5578,7 +5578,7 @@ av_cold void ff_vc1_init_transposed_scantables(VC1Context *v)
{
int
i
;
for
(
i
=
0
;
i
<
64
;
i
++
)
{
#define transpose(x) ((
x >> 3) | ((x
& 7) << 3))
#define transpose(x) ((
(x) >> 3) | (((x)
& 7) << 3))
v
->
zz_8x8
[
0
][
i
]
=
transpose
(
ff_wmv1_scantable
[
0
][
i
]);
v
->
zz_8x8
[
1
][
i
]
=
transpose
(
ff_wmv1_scantable
[
1
][
i
]);
v
->
zz_8x8
[
2
][
i
]
=
transpose
(
ff_wmv1_scantable
[
2
][
i
]);
...
...
libavcodec/vp3.c
View file @
007547b2
...
...
@@ -1740,7 +1740,7 @@ static av_cold int vp3_decode_init(AVCodecContext *avctx)
ff_vp3dsp_init
(
&
s
->
vp3dsp
,
avctx
->
flags
);
for
(
i
=
0
;
i
<
64
;
i
++
)
{
#define TRANSPOSE(x) (
x >> 3) | ((x & 7) << 3
)
#define TRANSPOSE(x) (
((x) >> 3) | (((x) & 7) << 3)
)
s
->
idct_permutation
[
i
]
=
TRANSPOSE
(
i
);
s
->
idct_scantable
[
i
]
=
TRANSPOSE
(
ff_zigzag_direct
[
i
]);
#undef TRANSPOSE
...
...
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