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
1d348dd0
Commit
1d348dd0
authored
Oct 28, 2017
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/paletteuse: fix debug_kdtree after
aba926e7
parent
93a1aac4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
vf_paletteuse.c
libavfilter/vf_paletteuse.c
+5
-4
No files found.
libavfilter/vf_paletteuse.c
View file @
1d348dd0
...
...
@@ -506,15 +506,16 @@ static void disp_node(AVBPrint *buf,
const
uint32_t
fontcolor
=
node
->
val
[
1
]
>
0x50
&&
node
->
val
[
2
]
>
0x50
&&
node
->
val
[
3
]
>
0x50
?
0
:
0xffffff
;
const
int
rgb_comp
=
node
->
split
-
1
;
av_bprintf
(
buf
,
"%*cnode%d ["
"label=
\"
%c%02X%c%02X%c%02X%c
\"
"
"fillcolor=
\"
#%02x%02x%02x
\"
"
"fontcolor=
\"
#%06"
PRIX32
"
\"
]
\n
"
,
depth
*
INDENT
,
' '
,
node
->
palette_id
,
"[ "
[
node
->
split
],
node
->
val
[
1
],
"][ "
[
node
->
split
],
node
->
val
[
2
],
" ]["
[
node
->
split
],
node
->
val
[
3
],
" ]"
[
node
->
split
],
"[ "
[
rgb_comp
],
node
->
val
[
1
],
"][ "
[
rgb_comp
],
node
->
val
[
2
],
" ]["
[
rgb_comp
],
node
->
val
[
3
],
" ]"
[
rgb_comp
],
node
->
val
[
1
],
node
->
val
[
2
],
node
->
val
[
3
],
fontcolor
);
if
(
parent_id
!=
-
1
)
...
...
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