]> git.sesse.net Git - ffmpeg/commit
avformat/ftp: Fix for invalid use of av_strtok
authorLimin Wang <lance.lmwang@gmail.com>
Sat, 18 Apr 2020 04:19:30 +0000 (12:19 +0800)
committerLimin Wang <lance.lmwang@gmail.com>
Sun, 10 May 2020 14:32:34 +0000 (22:32 +0800)
commit53c88355a5ae638b3a3cf93508c4741238dc6c7f
treebbdfcd64ba0b3c3fde7a811004589eaa39794c28
parent026b3a901865e77b3804e6e0a82652f315d171e6
avformat/ftp: Fix for invalid use of av_strtok

By the av_strtok() description:
 * On the first call to av_strtok(), s should point to the string to
 * parse, and the value of saveptr is ignored. In subsequent calls, s
 * should be NULL, and saveptr should be unchanged since the previous
 * call.

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
libavformat/ftp.c