[FFmpeg-cvslog] asrc_aevalsrc: prefer av_strtok() over strtok_r()

Stefano Sabatini git at videolan.org
Tue Oct 18 18:54:54 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Oct 18 18:43:44 2011 +0200| [3f20eada8018c170ced57512b42cbcc35043192c] | committer: Stefano Sabatini

asrc_aevalsrc: prefer av_strtok() over strtok_r()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3f20eada8018c170ced57512b42cbcc35043192c
---

 libavfilter/asrc_aevalsrc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
index 1b1f53a..e430493 100644
--- 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");



More information about the ffmpeg-cvslog mailing list