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
e751481c
Commit
e751481c
authored
May 14, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/output: silence compiler warnings about uninitialized variables
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e65c4a23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
output.c
libswscale/output.c
+1
-1
No files found.
libswscale/output.c
View file @
e751481c
...
@@ -762,13 +762,13 @@ yuv2rgba64_2_c_template(SwsContext *c, const int32_t *buf[2],
...
@@ -762,13 +762,13 @@ yuv2rgba64_2_c_template(SwsContext *c, const int32_t *buf[2],
int
yalpha1
=
4096
-
yalpha
;
int
yalpha1
=
4096
-
yalpha
;
int
uvalpha1
=
4096
-
uvalpha
;
int
uvalpha1
=
4096
-
uvalpha
;
int
i
;
int
i
;
int
A1
=
0
,
A2
=
0
;
// Init to avoid compiler warnings
for
(
i
=
0
;
i
<
((
dstW
+
1
)
>>
1
);
i
++
)
{
for
(
i
=
0
;
i
<
((
dstW
+
1
)
>>
1
);
i
++
)
{
int
Y1
=
(
buf0
[
i
*
2
]
*
yalpha1
+
buf1
[
i
*
2
]
*
yalpha
)
>>
14
;
int
Y1
=
(
buf0
[
i
*
2
]
*
yalpha1
+
buf1
[
i
*
2
]
*
yalpha
)
>>
14
;
int
Y2
=
(
buf0
[
i
*
2
+
1
]
*
yalpha1
+
buf1
[
i
*
2
+
1
]
*
yalpha
)
>>
14
;
int
Y2
=
(
buf0
[
i
*
2
+
1
]
*
yalpha1
+
buf1
[
i
*
2
+
1
]
*
yalpha
)
>>
14
;
int
U
=
(
ubuf0
[
i
]
*
uvalpha1
+
ubuf1
[
i
]
*
uvalpha
+
(
-
128
<<
23
))
>>
14
;
int
U
=
(
ubuf0
[
i
]
*
uvalpha1
+
ubuf1
[
i
]
*
uvalpha
+
(
-
128
<<
23
))
>>
14
;
int
V
=
(
vbuf0
[
i
]
*
uvalpha1
+
vbuf1
[
i
]
*
uvalpha
+
(
-
128
<<
23
))
>>
14
;
int
V
=
(
vbuf0
[
i
]
*
uvalpha1
+
vbuf1
[
i
]
*
uvalpha
+
(
-
128
<<
23
))
>>
14
;
int
A1
,
A2
;
int
R
,
G
,
B
;
int
R
,
G
,
B
;
Y1
-=
c
->
yuv2rgb_y_offset
;
Y1
-=
c
->
yuv2rgb_y_offset
;
...
...
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