aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-30 09:44:11 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-30 09:44:11 +0000
commit85ad1b0e97ea7f3e65ed2363bb1f5afec2020ed0 (patch)
tree5b0f6a5712e0698ac3ed1e6751f5f38a1e5d7ed4
parentffdf9a1f2d20de9e5ffeb0ef42c78c9ab52f1d49 (diff)
downloadffmpeg-85ad1b0e97ea7f3e65ed2363bb1f5afec2020ed0.tar.gz
change -fs option to use OPT_INT64
Originally committed as revision 8555 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1a17d4f172..bf2856ac02 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -196,7 +196,7 @@ static int64_t extra_size = 0;
static int nb_frames_dup = 0;
static int nb_frames_drop = 0;
static int input_sync;
-static int limit_filesize = 0; //
+static uint64_t limit_filesize = 0; //
static int pgmyuv_compatibility_hack=0;
static int dts_delta_threshold = 10;
@@ -3544,7 +3544,7 @@ const OptionDef options[] = {
{ "map", HAS_ARG | OPT_EXPERT, {(void*)opt_map}, "set input stream mapping", "file:stream[:syncfile:syncstream]" },
{ "map_meta_data", HAS_ARG | OPT_EXPERT, {(void*)opt_map_meta_data}, "set meta data information of outfile from infile", "outfile:infile" },
{ "t", HAS_ARG, {(void*)opt_recording_time}, "set the recording time", "duration" },
- { "fs", HAS_ARG | OPT_INT, {(void*)&limit_filesize}, "set the limit file size", "limit_size" }, //
+ { "fs", HAS_ARG | OPT_INT64, {(void*)&limit_filesize}, "set the limit file size", "limit_size" }, //
{ "ss", HAS_ARG, {(void*)opt_start_time}, "set the start time offset", "time_off" },
{ "itsoffset", HAS_ARG, {(void*)opt_input_ts_offset}, "set the input ts offset", "time_off" },
{ "title", HAS_ARG | OPT_STRING, {(void*)&str_title}, "set the title", "string" },