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

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Nov 15 23:13:04 EET 2021


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.

- Derek


More information about the ffmpeg-devel mailing list