[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:23:10 CEST 2014
On 30.07.2014 23:16, Lukasz Marek wrote:
>
>> +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.
Of course I meant recursion.
More information about the ffmpeg-devel
mailing list