fftools/ffmpeg: fix the type of limit_filesize

The option is parsed as INT64 (signed). It is also compared to the
output of avio_tell(), which is also int64_t.
This commit is contained in:
Anton Khirnov
2022-01-11 10:26:49 +01:00
parent 9fe62a545f
commit 81af4dec27
2 changed files with 3 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ static void init_options(OptionsContext *o)
o->start_time = AV_NOPTS_VALUE;
o->start_time_eof = AV_NOPTS_VALUE;
o->recording_time = INT64_MAX;
o->limit_filesize = UINT64_MAX;
o->limit_filesize = INT64_MAX;
o->chapters_input_file = INT_MAX;
o->accurate_seek = 1;
o->thread_queue_size = -1;