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

Mina Nagy Zaki mnzaki at gmail.com
Wed Aug 17 19:55:45 CEST 2011


On Tue, Aug 16, 2011 at 12:14:24AM +0200, Michael Niedermayer wrote:
> 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.
> 

Uh I just found out strsep is not C99... I'll have to change this to strtok
everywhere.




More information about the ffmpeg-devel mailing list