| ... | ... |
@@ -93,7 +93,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque) |
| 93 | 93 |
/* parse expressions */ |
| 94 | 94 |
buf = args1; |
| 95 | 95 |
i = 0; |
| 96 |
- while (expr = strtok_r(buf, ":", &bufptr)) {
|
|
| 96 |
+ while (expr = av_strtok(buf, ":", &bufptr)) {
|
|
| 97 | 97 |
if (i >= 8) {
|
| 98 | 98 |
av_log(ctx, AV_LOG_ERROR, |
| 99 | 99 |
"More than 8 expressions provided, unsupported.\n"); |