[FFmpeg-devel] [misc-filters PATCH 2/5] Add color source.

Michael Niedermayer michaelni
Fri Jul 16 23:12:20 CEST 2010


On Fri, Jul 16, 2010 at 06:58:13PM +0200, Stefano Sabatini wrote:
> On date Friday 2010-07-02 00:25:56 +0200, Michael Niedermayer encoded:
> > On Thu, Jul 01, 2010 at 11:12:02PM +0200, Stefano Sabatini wrote:
> > > On date Thursday 2010-07-01 13:26:07 +0200, Michael Niedermayer encoded:
> > > > On Wed, Jun 30, 2010 at 01:42:12AM +0200, Stefano Sabatini wrote:
> > > > [...]
> > > > > +static int color_config_props(AVFilterLink *inlink)
[...]
> +static av_cold int color_init(AVFilterContext *ctx, const char *args, void *opaque)
> +{
> +    ColorContext *color = ctx->priv;
> +    char color_string[128] = "black";
> +    char frame_size  [128] = "320x240";
> +    char frame_rate  [128] = "25";
> +    AVRational frame_rate_q;
> +    int ret;
> +
> +    if (args)
> +        sscanf(args, "%128[^:]:%128[^:]:%128s", color_string, frame_size, frame_rate);

shouldnt these be 127

except that the patch might be ok if tested and noone has comments

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- 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/20100716/2f557979/attachment.pgp>



More information about the ffmpeg-devel mailing list