[FFmpeg-devel] [PATCH 2/5] lavfi: add aformat filter

Michael Niedermayer michaelni at gmx.at
Tue Aug 16 00:14:24 CEST 2011


On Fri, Aug 12, 2011 at 12:51:03PM +0300, Mina Nagy Zaki wrote:
> Updated after changes to ff_parse_* functions.
[...]
> +static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
> +{
> +    AFormatContext * const aformat = ctx->priv;
> +    char *arg, *fmt_str;
> +    int64_t fmt;
> +    int ret;
> +
> +    arg = strsep(&args, ":");

strsep() is causing problems, even after i added #define _BSD_VERSION
sparc64    sunos fails to compile.

home/fate/v3/workdir440/src/libavfilter/af_aformat.c: In function 'init':
/home/fate/v3/workdir440/src/libavfilter/af_aformat.c:42: error: implicit declaration of function 'strsep'

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110816/0397eef2/attachment.asc>


More information about the ffmpeg-devel mailing list