diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-01-11 10:26:49 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-23 11:53:19 +0200 |
commit | 81af4dec27b6e0db7b7ed80bf96aaaccbf702954 (patch) | |
tree | 28033f727d2d124030ca4bfd4aad310c493ca8ab /fftools/ffmpeg.h | |
parent | 9fe62a545f02c63ebae3a2fe26e4018e4be1e655 (diff) | |
download | ffmpeg-81af4dec27b6e0db7b7ed80bf96aaaccbf702954.tar.gz |
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.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index cab21e8170..7721f959c1 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -148,7 +148,7 @@ typedef struct OptionsContext { int64_t recording_time; int64_t stop_time; - uint64_t limit_filesize; + int64_t limit_filesize; float mux_preload; float mux_max_delay; int shortest; @@ -596,7 +596,7 @@ typedef struct OutputFile { int ost_index; /* index of the first stream in output_streams */ int64_t recording_time; ///< desired length of the resulting file in microseconds == AV_TIME_BASE units int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units - uint64_t limit_filesize; /* filesize limit expressed in bytes */ + int64_t limit_filesize; /* filesize limit expressed in bytes */ int shortest; } OutputFile; |