On Thu, Jan 21, 2016 at 09:31:17AM +0000, Paul B Mahol wrote:
> Hi,
> patch attached.

[...]

> +static int parse_mapping(AVFilterContext *ctx, const char *map)
> +{
> +    StreamSelectContext *s = ctx->priv;
> +
> +    if (!map) {
> +        av_log(ctx, AV_LOG_ERROR, "mapping definition is not set\n");
> +        return AVERROR(EINVAL);
> +    }
> +
> +    av_freep(&s->map);
> +    s->nb_map = 0;
> +    s->map = av_calloc(s->nb_inputs, sizeof(*s->map));
> +    if (!s->map)
> +        return AVERROR(ENOMEM);
> +
> +    for (;;) {
> +        char *p;
> +        const int n = strtol(map, &p, 0);
> +

> +        av_log(ctx, 0,"n=%d map=%p p=%p\n", n, map, p);
                       ^
should be a AV_LOG level if this is intended to be in the commit

[..]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to