summaryrefslogtreecommitdiff
path: root/libavutil/avstring.h
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2017-04-11 10:54:35 +0800
committerSteven Liu <lq@chinaffmpeg.org>2017-04-11 10:54:35 +0800
commit44cd7502c739a97f9b37319f208e1bcc5b1899fd (patch)
tree6c878a0ef02c18b3dd94cd4ffdea944bac9b9c03 /libavutil/avstring.h
parenta44b3abb4cf922e379fbac55452d0482a8223597 (diff)
downloadffmpeg-44cd7502c739a97f9b37319f208e1bcc5b1899fd.tar.gz
avutil/avstring: improve av_strreplace implement
Use AVBprint to implement av_strreplace add av_strreplace test case TEST_STRREPLACE Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavutil/avstring.h')
-rw-r--r--libavutil/avstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 33be8bf484..04d2695640 100644
--- a/libavutil/avstring.h
+++ b/libavutil/avstring.h
@@ -270,7 +270,7 @@ int av_strncasecmp(const char *a, const char *b, size_t n);
* Locale-independent strings replace.
* @note This means only ASCII-range characters are replace
*/
-char *av_strreplace(const char *str, const char *from, const char *to);
+char *av_strireplace(const char *str, const char *from, const char *to);
/**
* Thread safe basename.