git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae3a86
)
asrc_aevalsrc: prefer av_strtok() over strtok_r()
author
Stefano Sabatini
<stefasab@gmail.com>
Tue, 18 Oct 2011 16:43:44 +0000
(18:43 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Tue, 18 Oct 2011 16:46:58 +0000
(18:46 +0200)
libavfilter/asrc_aevalsrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/asrc_aevalsrc.c
b/libavfilter/asrc_aevalsrc.c
index
1b1f53a
..
e430493
100644
(file)
--- a/
libavfilter/asrc_aevalsrc.c
+++ b/
libavfilter/asrc_aevalsrc.c
@@
-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");