[FFmpeg-devel] [PATCH 3/4] Move av_get_token() from libavfilter to libavutil.
Michael Niedermayer
michaelni
Tue Jun 15 08:00:55 CEST 2010
On Sat, Jun 12, 2010 at 08:28:42PM +0200, Stefano Sabatini wrote:
> This may be useful also outside libavfilter. Note that this breaks the
> libavfilter ABI, but we don't care as its ABI is yet considered
> unstable.
[...]
> diff --git a/libavutil/avstring.h b/libavutil/avstring.h
> index 01c2391..042d171 100644
> --- a/libavutil/avstring.h
> +++ b/libavutil/avstring.h
> @@ -114,4 +114,19 @@ size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
> */
> char *av_d2str(double d);
>
> +/**
> + * Unescapes the given string until a non escaped terminating char,
> + * and returns the token corresponding to the unescaped string.
> + *
> + * The normal \ and ' escaping is supported.
> + * Leading and trailing
> + * whitespaces are removed.
Why?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100615/7bf3cbfc/attachment.pgp>
More information about the ffmpeg-devel
mailing list