MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / upcase_string

Function upcase_string

fftools/textformat/tf_default.c:55–63  ·  view source on GitHub ↗

lame uppercasing routine, assumes the string is lower case ASCII */

Source from the content-addressed store, hash-verified

53
54/* lame uppercasing routine, assumes the string is lower case ASCII */
55static inline char *upcase_string(char *dst, size_t dst_size, const char *src)
56{
57 unsigned i;
58
59 for (i = 0; src[i] && i < dst_size - 1; i++)
60 dst[i] = (char)av_toupper(src[i]);
61 dst[i] = 0;
62 return dst;
63}
64
65static void default_print_section_header(AVTextFormatContext *wctx, const void *data)
66{

Callers 2

Calls 1

av_toupperFunction · 0.85

Tested by

no test coverage detected