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
52cc86ca
Commit
52cc86ca
authored
Apr 18, 2020
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_spp: Fix endian-dependance in add_block()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
dde86d0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
vf_spp.c
libavfilter/vf_spp.c
+8
-4
No files found.
libavfilter/vf_spp.c
View file @
52cc86ca
...
...
@@ -223,10 +223,14 @@ static inline void add_block(uint16_t *dst, int linesize, const int16_t block[64
int
y
;
for
(
y
=
0
;
y
<
8
;
y
++
)
{
*
(
uint32_t
*
)
&
dst
[
0
+
y
*
linesize
]
+=
*
(
uint32_t
*
)
&
block
[
0
+
y
*
8
];
*
(
uint32_t
*
)
&
dst
[
2
+
y
*
linesize
]
+=
*
(
uint32_t
*
)
&
block
[
2
+
y
*
8
];
*
(
uint32_t
*
)
&
dst
[
4
+
y
*
linesize
]
+=
*
(
uint32_t
*
)
&
block
[
4
+
y
*
8
];
*
(
uint32_t
*
)
&
dst
[
6
+
y
*
linesize
]
+=
*
(
uint32_t
*
)
&
block
[
6
+
y
*
8
];
dst
[
0
+
y
*
linesize
]
+=
block
[
0
+
y
*
8
];
dst
[
1
+
y
*
linesize
]
+=
block
[
1
+
y
*
8
];
dst
[
2
+
y
*
linesize
]
+=
block
[
2
+
y
*
8
];
dst
[
3
+
y
*
linesize
]
+=
block
[
3
+
y
*
8
];
dst
[
4
+
y
*
linesize
]
+=
block
[
4
+
y
*
8
];
dst
[
5
+
y
*
linesize
]
+=
block
[
5
+
y
*
8
];
dst
[
6
+
y
*
linesize
]
+=
block
[
6
+
y
*
8
];
dst
[
7
+
y
*
linesize
]
+=
block
[
7
+
y
*
8
];
}
}
...
...
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