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

Function av_strstart

libavutil/avstring.c:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include "macros.h"
35
36int av_strstart(const char *str, const char *pfx, const char **ptr)
37{
38 while (*pfx && *pfx == *str) {
39 pfx++;
40 str++;
41 }
42 if (!*pfx && ptr)
43 *ptr = str;
44 return !*pfx;
45}
46
47int av_stristart(const char *str, const char *pfx, const char **ptr)
48{

Callers 15

v4l2_read_probeFunction · 0.85
mainFunction · 0.85
ishttpFunction · 0.85
open_urlFunction · 0.85
resolve_content_pathFunction · 0.85
matroska_parse_tracksFunction · 0.85
matroska_read_headerFunction · 0.85
mov_read_kindFunction · 0.85
xiph_parse_sdp_lineFunction · 0.85
parse_sdp_lineFunction · 0.85
sdp_parse_lineFunction · 0.85
sdp_probeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected