diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-10-15 02:14:37 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-10-18 20:21:03 +0400 |
commit | b35e9e19e93b0c69303444e9974ee640a924f798 (patch) | |
tree | 09c93cf03ae3e1902b312eef74aab72f75180da9 /libavfilter/vf_frei0r.c | |
parent | 88bdf7471f6b8df5106f84b4b4d4cffe4606bcb0 (diff) |
lavu: add av_strtok()
The function strtok_r() is part of the POSIX.1 specification, but is not
available on some platforms. We provide an internal implementation, so we
do not need to rely on a platform implementation.
Diffstat (limited to 'libavfilter/vf_frei0r.c')
-rw-r--r-- | libavfilter/vf_frei0r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index f5b7abb543..5d5a4db1e6 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -216,7 +216,7 @@ static av_cold int frei0r_init(AVFilterContext *ctx, /* see: http://piksel.org/frei0r/1.2/spec/1.2/spec/group__pluglocations.html */ if ((path = av_strdup(getenv("FREI0R_PATH")))) { char *p, *ptr = NULL; - for (p = path; p = strtok_r(p, ":", &ptr); p = NULL) + for (p = path; p = av_strtok(p, ":", &ptr); p = NULL) if (frei0r->dl_handle = load_path(ctx, p, dl_name)) break; av_free(path); |