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
fe6372bb
Commit
fe6372bb
authored
Jan 14, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/vscale: Add fixme comment to "ugly" code
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
705a2f70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vscale.c
libswscale/vscale.c
+1
-1
No files found.
libswscale/vscale.c
View file @
fe6372bb
...
@@ -239,7 +239,7 @@ void ff_init_vscale_pfn(SwsContext *c,
...
@@ -239,7 +239,7 @@ void ff_init_vscale_pfn(SwsContext *c,
{
{
VScalerContext
*
lumCtx
=
NULL
;
VScalerContext
*
lumCtx
=
NULL
;
VScalerContext
*
chrCtx
=
NULL
;
VScalerContext
*
chrCtx
=
NULL
;
int
idx
=
c
->
numDesc
-
(
c
->
is_internal_gamma
?
2
:
1
);
int
idx
=
c
->
numDesc
-
(
c
->
is_internal_gamma
?
2
:
1
);
//FIXME avoid hardcoding indexes
if
(
isPlanarYUV
(
c
->
dstFormat
)
||
(
isGray
(
c
->
dstFormat
)
&&
!
isALPHA
(
c
->
dstFormat
)))
{
if
(
isPlanarYUV
(
c
->
dstFormat
)
||
(
isGray
(
c
->
dstFormat
)
&&
!
isALPHA
(
c
->
dstFormat
)))
{
if
(
!
isGray
(
c
->
dstFormat
))
{
if
(
!
isGray
(
c
->
dstFormat
))
{
...
...
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