Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
4981baf9
Commit
4981baf9
authored
Nov 04, 2014
by
Henrik Gramner
Committed by
Martin Storsjö
Nov 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avstring: Mark some character handling functions av_const
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
199d9f99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
avstring.h
libavutil/avstring.h
+6
-6
No files found.
libavutil/avstring.h
View file @
4981baf9
...
...
@@ -154,22 +154,22 @@ char *av_get_token(const char **buf, const char *term);
/**
* Locale-independent conversion of ASCII isdigit.
*/
int
av_isdigit
(
int
c
);
av_const
int
av_isdigit
(
int
c
);
/**
* Locale-independent conversion of ASCII isgraph.
*/
int
av_isgraph
(
int
c
);
av_const
int
av_isgraph
(
int
c
);
/**
* Locale-independent conversion of ASCII isspace.
*/
int
av_isspace
(
int
c
);
av_const
int
av_isspace
(
int
c
);
/**
* Locale-independent conversion of ASCII characters to uppercase.
*/
static
inline
int
av_toupper
(
int
c
)
static
inline
av_const
int
av_toupper
(
int
c
)
{
if
(
c
>=
'a'
&&
c
<=
'z'
)
c
^=
0x20
;
...
...
@@ -179,7 +179,7 @@ static inline int av_toupper(int c)
/**
* Locale-independent conversion of ASCII characters to lowercase.
*/
static
inline
int
av_tolower
(
int
c
)
static
inline
av_const
int
av_tolower
(
int
c
)
{
if
(
c
>=
'A'
&&
c
<=
'Z'
)
c
^=
0x20
;
...
...
@@ -189,7 +189,7 @@ static inline int av_tolower(int c)
/**
* Locale-independent conversion of ASCII isxdigit.
*/
int
av_isxdigit
(
int
c
);
av_const
int
av_isxdigit
(
int
c
);
/*
* Locale-independent case-insensitive compare.
...
...
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