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
2aa21eec
Commit
2aa21eec
authored
Feb 23, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postproc: fix unaligned access
Based on
59074310
by Andreas Cadhalpun. Fixes ticket #5259.
parent
7586b3ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
postprocess.c
libpostproc/postprocess.c
+1
-1
No files found.
libpostproc/postprocess.c
View file @
2aa21eec
...
...
@@ -973,7 +973,7 @@ void pp_postprocess(const uint8_t * src[3], const int srcStride[3],
int
i
;
const
int
count
=
FFMAX
(
mbHeight
*
absQPStride
,
mbWidth
);
for
(
i
=
0
;
i
<
(
count
>>
2
);
i
++
){
((
uint32_t
*
)
c
->
stdQPTable
)[
i
]
=
(((
const
uint32_t
*
)
QP_store
)[
i
]
>>
1
)
&
0x7F7F7F7F
;
AV_WN32
(
c
->
stdQPTable
+
(
i
<<
2
),
AV_RN32
(
QP_store
+
(
i
<<
2
))
>>
1
&
0x7F7F7F7F
)
;
}
for
(
i
<<=
2
;
i
<
count
;
i
++
){
c
->
stdQPTable
[
i
]
=
QP_store
[
i
]
>>
1
;
...
...
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