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
03dab49a
Commit
03dab49a
authored
Feb 17, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vp56: Add () to protect TRANSPOSE()s arguments
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a00bab34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vp56.c
libavcodec/vp56.c
+1
-1
No files found.
libavcodec/vp56.c
View file @
03dab49a
...
@@ -701,7 +701,7 @@ av_cold int ff_vp56_init_context(AVCodecContext *avctx, VP56Context *s,
...
@@ -701,7 +701,7 @@ av_cold int ff_vp56_init_context(AVCodecContext *avctx, VP56Context *s,
ff_vp3dsp_init
(
&
s
->
vp3dsp
,
avctx
->
flags
);
ff_vp3dsp_init
(
&
s
->
vp3dsp
,
avctx
->
flags
);
ff_vp56dsp_init
(
&
s
->
vp56dsp
,
avctx
->
codec
->
id
);
ff_vp56dsp_init
(
&
s
->
vp56dsp
,
avctx
->
codec
->
id
);
for
(
i
=
0
;
i
<
64
;
i
++
)
{
for
(
i
=
0
;
i
<
64
;
i
++
)
{
#define TRANSPOSE(x) (
x >> 3) | ((x & 7) << 3
)
#define TRANSPOSE(x) (
((x) >> 3) | (((x) & 7) << 3)
)
s
->
idct_scantable
[
i
]
=
TRANSPOSE
(
ff_zigzag_direct
[
i
]);
s
->
idct_scantable
[
i
]
=
TRANSPOSE
(
ff_zigzag_direct
[
i
]);
#undef TRANSPOSE
#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