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
3bcde3f0
Commit
3bcde3f0
authored
Aug 01, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/drawutils: make ff_draw_color() accept a const rgba map
parent
65520f59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drawutils.c
libavfilter/drawutils.c
+1
-1
drawutils.h
libavfilter/drawutils.h
+1
-1
No files found.
libavfilter/drawutils.c
View file @
3bcde3f0
...
...
@@ -173,7 +173,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags)
return
0
;
}
void
ff_draw_color
(
FFDrawContext
*
draw
,
FFDrawColor
*
color
,
uint8_t
rgba
[
4
])
void
ff_draw_color
(
FFDrawContext
*
draw
,
FFDrawColor
*
color
,
const
uint8_t
rgba
[
4
])
{
unsigned
i
;
uint8_t
rgba_map
[
4
];
...
...
libavfilter/drawutils.h
View file @
3bcde3f0
...
...
@@ -79,7 +79,7 @@ int ff_draw_init(FFDrawContext *draw, enum PixelFormat format, unsigned flags);
/**
* Prepare a color.
*/
void
ff_draw_color
(
FFDrawContext
*
draw
,
FFDrawColor
*
color
,
uint8_t
rgba
[
4
]);
void
ff_draw_color
(
FFDrawContext
*
draw
,
FFDrawColor
*
color
,
const
uint8_t
rgba
[
4
]);
/**
* Copy a rectangle from an image to another.
...
...
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