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
c77b858c
Commit
c77b858c
authored
May 11, 2011
by
Ronald S. Bultje
Committed by
Michael Niedermayer
May 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264pred: fix one more aliasing violation.
parent
0f6bbc5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
h264pred_template.c
libavcodec/h264pred_template.c
+4
-2
No files found.
libavcodec/h264pred_template.c
View file @
c77b858c
...
...
@@ -695,10 +695,12 @@ static void FUNCC(pred8x8l_horizontal)(uint8_t *p_src, int has_topleft, int has_
{
pixel
*
src
=
(
pixel
*
)
p_src
;
int
stride
=
p_stride
>>
(
sizeof
(
pixel
)
-
1
);
pixel4
a
;
PREDICT_8x8_LOAD_LEFT
;
#define ROW(y) ((pixel4*)(src+y*stride))[0] =\
((pixel4*)(src+y*stride))[1] = PIXEL_SPLAT_X4(l##y)
#define ROW(y) a = PIXEL_SPLAT_X4(l##y); \
AV_WN4PA(src+y*stride, a); \
AV_WN4PA(src+y*stride+4, a);
ROW
(
0
);
ROW
(
1
);
ROW
(
2
);
ROW
(
3
);
ROW
(
4
);
ROW
(
5
);
ROW
(
6
);
ROW
(
7
);
#undef ROW
}
...
...
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