Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Samuel Mira
ffmpeg
Commits
adaa274f
Commit
adaa274f
authored
10 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
tests/utils: make arguments const that arent changed
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6edd6a4f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/utils.c
+3
-3
3 additions, 3 deletions
tests/utils.c
with
3 additions
and
3 deletions
tests/utils.c
+
3
−
3
View file @
adaa274f
...
@@ -35,12 +35,12 @@
...
@@ -35,12 +35,12 @@
} while (0)
} while (0)
static
void
rgb24_to_yuv420p
(
unsigned
char
*
lum
,
unsigned
char
*
cb
,
static
void
rgb24_to_yuv420p
(
unsigned
char
*
lum
,
unsigned
char
*
cb
,
unsigned
char
*
cr
,
unsigned
char
*
src
,
unsigned
char
*
cr
,
const
unsigned
char
*
src
,
int
width
,
int
height
)
int
width
,
int
height
)
{
{
int
wrap
,
wrap3
,
x
,
y
;
int
wrap
,
wrap3
,
x
,
y
;
int
r
,
g
,
b
,
r1
,
g1
,
b1
;
int
r
,
g
,
b
,
r1
,
g1
,
b1
;
unsigned
char
*
p
;
const
unsigned
char
*
p
;
wrap
=
width
;
wrap
=
width
;
wrap3
=
width
*
3
;
wrap3
=
width
*
3
;
...
@@ -104,7 +104,7 @@ static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
...
@@ -104,7 +104,7 @@ static void rgb24_to_yuv420p(unsigned char *lum, unsigned char *cb,
#define DEFAULT_NB_PICT 50
#define DEFAULT_NB_PICT 50
static
void
pgmyuv_save
(
const
char
*
filename
,
int
w
,
int
h
,
static
void
pgmyuv_save
(
const
char
*
filename
,
int
w
,
int
h
,
unsigned
char
*
rgb_tab
)
const
unsigned
char
*
rgb_tab
)
{
{
FILE
*
f
;
FILE
*
f
;
int
i
,
h2
,
w2
;
int
i
,
h2
,
w2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment