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
c3339878
Commit
c3339878
authored
Feb 09, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: fix compilation with !HAVE_FAST_64BIT.
Spotted-by:
Carl Eugen Hoyos
<
cehoyos@ag.or.at
>
parent
0d4d2233
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vp9.c
libavcodec/vp9.c
+3
-3
No files found.
libavcodec/vp9.c
View file @
c3339878
...
...
@@ -1302,7 +1302,7 @@ static av_always_inline void setctx_2d(uint8_t *ptr, int w, int h,
ptr
+=
stride
;
}
while
(
--
h
);
#else
uint32_t
l
32
=
v
*
0x01010101
;
uint32_t
v
32
=
v
*
0x01010101
;
do
{
AV_WN32A
(
ptr
,
v32
);
AV_WN32A
(
ptr
+
4
,
v32
);
...
...
@@ -1910,13 +1910,13 @@ static void decode_mode(AVCodecContext *ctx)
case 2: AV_WN16A(&var, val * 0x0101); break; \
case 4: AV_WN32A(&var, val * 0x01010101); break; \
case 8: { \
uint32_t v32 = val * 0x01010101
)
; \
uint32_t v32 = val * 0x01010101; \
AV_WN32A( &var, v32); \
AV_WN32A(&((uint8_t *) &var)[4], v32); \
break; \
} \
case 16: { \
uint32_t v32 = val * 0x01010101
)
; \
uint32_t v32 = val * 0x01010101; \
AV_WN32A( &var, v32); \
AV_WN32A(&((uint8_t *) &var)[4], v32); \
AV_WN32A(&((uint8_t *) &var)[8], v32); \
...
...
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