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
b154d203
Commit
b154d203
authored
May 19, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/output: silence warning about undefined 'ASSERT_LEVEL'
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
f4b2d359
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 @
b154d203
...
...
@@ -1152,7 +1152,7 @@ yuv2rgb_write(uint8_t *_dest, int i, int Y1, int Y2,
dest
[
i
*
2
+
0
]
=
r
[
Y1
]
+
g
[
Y1
]
+
b
[
Y1
]
+
(
A1
<<
sh
);
dest
[
i
*
2
+
1
]
=
r
[
Y2
]
+
g
[
Y2
]
+
b
[
Y2
]
+
(
A2
<<
sh
);
}
else
{
#if ASSERT_LEVEL > 1
#if
defined(ASSERT_LEVEL) &&
ASSERT_LEVEL > 1
int
sh
=
(
target
==
AV_PIX_FMT_RGB32_1
||
target
==
AV_PIX_FMT_BGR32_1
)
?
0
:
24
;
av_assert2
((((
r
[
Y1
]
+
g
[
Y1
]
+
b
[
Y1
])
>>
sh
)
&
0xFF
)
==
0xFF
);
...
...
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