Skip to content
Snippets Groups Projects
Commit 3f20eada authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

asrc_aevalsrc: prefer av_strtok() over strtok_r()

parent eae3a86e
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque) ...@@ -93,7 +93,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
/* parse expressions */ /* parse expressions */
buf = args1; buf = args1;
i = 0; i = 0;
while (expr = strtok_r(buf, ":", &bufptr)) { while (expr = av_strtok(buf, ":", &bufptr)) {
if (i >= 8) { if (i >= 8) {
av_log(ctx, AV_LOG_ERROR, av_log(ctx, AV_LOG_ERROR,
"More than 8 expressions provided, unsupported.\n"); "More than 8 expressions provided, unsupported.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment