| 34 | #include "macros.h" |
| 35 | |
| 36 | int 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 | |
| 47 | int av_stristart(const char *str, const char *pfx, const char **ptr) |
| 48 | { |
no outgoing calls
no test coverage detected