avutil/avstring: improve av_strreplace implement
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 11 Apr 2017 02:54:35 +0000 (10:54 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 11 Apr 2017 02:54:35 +0000 (10:54 +0800)
commit44cd7502c739a97f9b37319f208e1bcc5b1899fd
tree6c878a0ef02c18b3dd94cd4ffdea944bac9b9c03
parenta44b3abb4cf922e379fbac55452d0482a8223597
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>
libavutil/avstring.c
libavutil/avstring.h
libavutil/tests/avstring.c