mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/utils: Remove unused shorthand feature for auto-inserted BSF
Besides being unused it should not be used at all: The order of options of bitstream filters is not guaranteed to be stable at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
5f4b0ace4b
commit
419d93c379
|
@ -1800,13 +1800,7 @@ int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *a
|
|||
}
|
||||
|
||||
if (args && bsfc->filter->priv_class) {
|
||||
const AVOption *opt = av_opt_next(bsfc->priv_data, NULL);
|
||||
const char * shorthand[2] = {NULL};
|
||||
|
||||
if (opt)
|
||||
shorthand[0] = opt->name;
|
||||
|
||||
if ((ret = av_opt_set_from_string(bsfc->priv_data, args, shorthand, "=", ":")) < 0) {
|
||||
if ((ret = av_set_options_string(bsfc->priv_data, args, "=", ":")) < 0) {
|
||||
av_bsf_free(&bsfc);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue