diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-13 00:45:30 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-13 00:45:30 +0200 |
commit | dcea58502c9b7992e284233f2c5ba75c51456ad3 (patch) | |
tree | a20205d6632f5350eb8d4a3af0ef1d09a9741907 | |
parent | 8f99494c1ca5ef0bed58ec1422ceeded545f2d4d (diff) | |
download | ffmpeg-dcea58502c9b7992e284233f2c5ba75c51456ad3.tar.gz |
lavfi: drop now unused shorthand field from AVFilter.
-rw-r--r-- | libavfilter/avfilter.c | 2 | ||||
-rw-r--r-- | libavfilter/avfilter.h | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 211344c449..f39261342e 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -606,7 +606,7 @@ void avfilter_free(AVFilterContext *filter) avfilter_link_free(&link); } - if (filter->filter->priv_class || filter->filter->shorthand) + if (filter->filter->priv_class) av_opt_free(filter->priv); av_freep(&filter->name); diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 44143b010a..0b970d0486 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -518,15 +518,6 @@ typedef struct AVFilter { * used for providing binary data. */ int (*init_opaque)(AVFilterContext *ctx, void *opaque); - - /** - * Shorthand syntax for init arguments. - * If this field is set (even to an empty list), just before init the - * private class will be set and the arguments string will be parsed - * using av_opt_set_from_string() with "=" and ":" delimiters, and - * av_opt_free() will be called just after uninit. - */ - const char *const *shorthand; } AVFilter; /** An instance of a filter */ |