MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / parse_time_or_die

Function parse_time_or_die

ffmpeg-single-cmd/src/main/cpp/cmdutils.c:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165int64_t parse_time_or_die(const char *context, const char *timestr,
166 int is_duration)
167{
168 int64_t us;
169 if (av_parse_time(&us, timestr, is_duration) < 0) {
170 av_log(NULL, AV_LOG_FATAL, "Invalid %s specification for %s: %s\n",
171 is_duration ? "duration" : "date", context, timestr);
172 exit_program(1);
173 }
174 return us;
175}
176
177void show_help_options(const OptionDef *options, const char *msg, int req_flags,
178 int rej_flags, int alt_flags)

Callers 3

opt_recording_timestampFunction · 0.85
parse_forced_key_framesFunction · 0.85
write_optionFunction · 0.85

Calls 1

exit_programFunction · 0.85

Tested by

no test coverage detected