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
07b172fe
Commit
07b172fe
authored
Nov 05, 2011
by
Luca Barbato
Committed by
Martin Storsjö
Nov 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avstring: Add locale independent implementations of toupper/tolower
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
66760b30
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
APIchanges
doc/APIchanges
+3
-0
avstring.h
libavutil/avstring.h
+20
-0
avutil.h
libavutil/avutil.h
+1
-1
No files found.
doc/APIchanges
View file @
07b172fe
...
...
@@ -13,6 +13,9 @@ libavutil: 2011-04-18
API changes, most recent first:
2011-11-xx - xxxxxxx - lavu 51.13.0
Add av_toupper()/av_tolower()
2011-11-xx - xxxxxxx - lavf 53.13.0
Add avformat_network_init()/avformat_network_uninit()
...
...
libavutil/avstring.h
View file @
07b172fe
...
...
@@ -131,4 +131,24 @@ char *av_d2str(double d);
*/
char
*
av_get_token
(
const
char
**
buf
,
const
char
*
term
);
/**
* Locale independent conversion of ASCII characters to upper case.
*/
static
inline
int
av_toupper
(
int
c
)
{
if
(
c
>=
'a'
&&
c
<=
'z'
)
c
^=
0x20
;
return
c
;
}
/**
* Locale independent conversion of ASCII characters to lower case.
*/
static
inline
int
av_tolower
(
int
c
)
{
if
(
c
>=
'A'
&&
c
<=
'Z'
)
c
^=
0x20
;
return
c
;
}
#endif
/* AVUTIL_AVSTRING_H */
libavutil/avutil.h
View file @
07b172fe
...
...
@@ -40,7 +40,7 @@
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 1
2
#define LIBAVUTIL_VERSION_MINOR 1
3
#define LIBAVUTIL_VERSION_MICRO 0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
...
...
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