Henrik Gramner
2c3dbff1d8
avutil/avstring: Inline some tiny functions
...
They're short enough that inlining them actually reduces code size due to
all the overhead associated with making a function call.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Henrik Gramner
4981baf9b8
avstring: Mark some character handling functions av_const
...
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Luca Barbato
69e7336b8e
avstring: Expose the simple name match function
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Reimar Döffinger
12c5c1d3e3
avstring: Add locale independent versions of some ctype.h functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Vladimir Pantelic
b85a5e87af
lavu: Add av_strnstr()
...
This is a length limited version of strstr()
Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
d8fd06c37d
avstring: add av_basename and av_dirname
...
Thread safe version of the common basename and dirname.
12 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Luca Barbato
757cd8d876
doxy: provide a start page and document libavutil
...
Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure
13 years ago
Reimar Döffinger
ba04ecfdac
avstring: Add locale independent implementations of strcasecmp/strncasecmp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
07b172fe8f
avstring: Add locale independent implementations of toupper/tolower
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
...
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
372e288408
Move av_get_token() from libavfilter to libavutil.
...
Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
f0a912d3b8
More descriptive names for av_stristr() parameters
...
Originally committed as revision 22349 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ac6ef8682d
Add av_stristr() function
...
This is a case-insensitive version of strstr().
Originally committed as revision 22251 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
22bf4592c8
Remove duplicated word in av_strlcat() doxy.
...
Originally committed as revision 21549 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
64b12fc317
Move #include where it belongs.
...
This as a sideeffect fixes the linking failure of ffplay.
Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
277c733237
Add a function to convert a number to a av_malloced string.
...
Originally committed as revision 20829 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
46f3b40eb3
Add warnings to av_strlcat and av_strlcpy doxygen that the input strings
...
already must be properly 0-terminated strings. Unlike strncpy it
cannot be used on raw data read from a file.
Originally committed as revision 19800 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
7d685b486b
spelling/grammar/consistency review part III
...
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
89c9ff504b
spelling/grammar/consistency review part I
...
Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
52703a6459
Use filename as multiple inclusion guard.
...
Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
1e7f363804
Implement av_strlcatf(): a strlcat which adds a printf style formatted string
...
Originally committed as revision 9753 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
fc78ce803b
add some string functions
...
Originally committed as revision 9400 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago