summaryrefslogtreecommitdiff
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorLinjie Fu <linjie.justin.fu@gmail.com>2021-08-05 00:37:29 +0800
committerLinjie Fu <fulinjie@zju.edu.cn>2021-08-05 22:23:49 +0800
commit5b0e6b0d82dfcc5c6b999e2678b52b0cff38ae0a (patch)
tree08ffae4e2be3e3a3030c2f0474d889e5198734cc /fftools/cmdutils.c
parent9f14396a5103ec80893db801035ece5d14c0d3c5 (diff)
downloadffmpeg-5b0e6b0d82dfcc5c6b999e2678b52b0cff38ae0a.tar.gz
fftools: Don't set default swscale flags in ffmpeg/ffprobe/ffplay
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r--fftools/cmdutils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 0b1ef03a25..912e881174 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -81,11 +81,6 @@ enum show_muxdemuxers {
SHOW_MUXERS,
};
-void init_opts(void)
-{
- av_dict_set(&sws_dict, "flags", "bicubic", 0);
-}
-
void uninit_opts(void)
{
av_dict_free(&swr_opts);
@@ -670,7 +665,6 @@ static void finish_group(OptionParseContext *octx, int group_idx,
resample_opts = NULL;
sws_dict = NULL;
swr_opts = NULL;
- init_opts();
memset(&octx->cur_group, 0, sizeof(octx->cur_group));
}
@@ -708,8 +702,6 @@ static void init_parse_context(OptionParseContext *octx,
octx->global_opts.group_def = &global_group;
octx->global_opts.arg = "";
-
- init_opts();
}
void uninit_parse_context(OptionParseContext *octx)