[FFmpeg-devel] [PATCH 2/4] dict.c: Add av_dict_set_int helper function.

Lukasz Marek lukasz.m.luki2 at gmail.com
Wed Jul 30 23:16:14 CEST 2014


> +int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value,
> +                int flags)
> +{
> +    char valuestr[22];
> +    snprintf(valuestr, sizeof(valuestr), "%"PRId64, value);
> +    return av_dict_set_int(pm, key, valuestr, flags);
> +}

I guess it's infinite recurrence. ffplay crashes when ftp:// source with 
-timeout option is provided.



More information about the ffmpeg-devel mailing list