They did nothing but return an error since 2012.
---
fftools/ffmpeg_opt.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index f8e6115241..f0f7051392 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -303,15 +303,6 @@ static int opt_stats_period(void *optctx, const char *opt,
const char *arg)
return 0;
}
-static int opt_sameq(void *optctx, const char *opt, const char *arg)
-{
- av_log(NULL, AV_LOG_ERROR, "Option '%s' was removed. "
- "If you are looking for an option to preserve the quality (which is
not "
- "what -%s was for), use -qscale 0 or an equivalent quality factor
option.\n",
- opt, opt);
- return AVERROR(EINVAL);
-}
-
static int opt_audio_codec(void *optctx, const char *opt, const char *arg)
{
OptionsContext *o = optctx;
@@ -3755,10 +3746,6 @@ const OptionDef options[] = {
{ "vcodec", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_INPUT |
OPT_OUTPUT,
{ .func_arg = opt_video_codec },
"force video codec ('copy' to copy stream)", "codec" },
- { "sameq", OPT_VIDEO | OPT_EXPERT ,
{ .func_arg = opt_sameq },
- "Removed" },
- { "same_quant", OPT_VIDEO | OPT_EXPERT ,
{ .func_arg = opt_sameq },
- "Removed" },
{ "timecode", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT,
{ .func_arg = opt_timecode },
"set initial TimeCode value.", "hh:mm:ss[:;.]ff" },
{ "pass", OPT_VIDEO | HAS_ARG | OPT_SPEC | OPT_INT | OPT_OUTPUT,
{ .off = OFFSET(pass) },
--
2.33.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".