mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-18 23:35:06 +02:00
asrc_aevalsrc: prefer av_strtok() over strtok_r()
This commit is contained in:
parent
eae3a86e57
commit
3f20eada80
@ -93,7 +93,7 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque)
|
||||
/* parse expressions */
|
||||
buf = args1;
|
||||
i = 0;
|
||||
while (expr = strtok_r(buf, ":", &bufptr)) {
|
||||
while (expr = av_strtok(buf, ":", &bufptr)) {
|
||||
if (i >= 8) {
|
||||
av_log(ctx, AV_LOG_ERROR,
|
||||
"More than 8 expressions provided, unsupported.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user