[FFmpeg-devel] [PATCH] avutil/avstring: add av_strreplace API into avstring

Nicolas George george at nsup.org
Fri Mar 31 12:51:21 EEST 2017


Le decadi 10 germinal, an CCXXV, Steven Liu a écrit :
> refer to: http://creativeandcritical.net/str-replace-c
> add av_strreplace API for replace string operations.
> 
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  libavutil/avstring.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  libavutil/avstring.h |  5 ++++
>  2 files changed, 82 insertions(+)

It looks like it is duplicating a lot of functionality already
implemented in BPrint. I suggest you try implementing it using BPrint
instead.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list