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

Function av_match_list

libavutil/avstring.c:445–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445int av_match_list(const char *name, const char *list, char separator)
446{
447 const char *p, *q;
448
449 for (p = name; p && *p; ) {
450 for (q = list; q && *q; ) {
451 int k;
452 for (k = 0; p[k] == q[k] || (p[k]*q[k] == 0 && p[k]+q[k] == separator); k++)
453 if (k && (!p[k] || p[k] == separator))
454 return 1;
455 q = strchr(q, separator);
456 if(q)
457 q++;
458 }
459 p = strchr(p, separator);
460 if (p)
461 p++;
462 }
463
464 return 0;
465}

Callers 6

ffurl_connectFunction · 0.85
avformat_open_inputFunction · 0.85
http_open_cnx_internalFunction · 0.85
http_should_reconnectFunction · 0.85
ff_format_check_set_urlFunction · 0.85
avcodec_open2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected