[FFmpeg-devel] [PATCH] avformat/http: Add short_seek_size option

James Almer jamrial at gmail.com
Tue Nov 16 00:49:40 EET 2021


On 11/15/2021 6:13 PM, Derek Buitenhuis wrote:
> On 11/15/2021 7:53 PM, James Almer wrote:
>> Don't forget to bump micro before you push.
> 
> Yep.
> 
>>> +    { "short_seek_size", "Threshold to favor readahead over seek.", OFFSET(short_seek_size), AV_OPT_TYPE_INT, { .i64 = -1 }, 1, INT64_MAX, D },
>>
>> -1 default when the valid range is 1 to INT64_MAX?
> 
> D'oh. I had an uncommited change making it 0, and 0 to INT64_MAX.

Make it INT_MAX while at it. The field is an int.

> 
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> 



More information about the ffmpeg-devel mailing list