1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter: Remove deprecated resample_lavr_opts

Deprecated in 3796fb2692.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-03-06 17:52:24 +01:00 committed by James Almer
parent 1ec87f50f4
commit 339af976b6
3 changed files with 0 additions and 9 deletions

View File

@ -853,9 +853,6 @@ typedef struct AVFilterGraph {
unsigned nb_filters; unsigned nb_filters;
char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters
#if FF_API_LAVR_OPTS
attribute_deprecated char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters
#endif
/** /**
* Type of multithreading allowed for filters in this graph. A combination * Type of multithreading allowed for filters in this graph. A combination

View File

@ -131,9 +131,6 @@ void avfilter_graph_free(AVFilterGraph **graph)
av_freep(&(*graph)->scale_sws_opts); av_freep(&(*graph)->scale_sws_opts);
av_freep(&(*graph)->aresample_swr_opts); av_freep(&(*graph)->aresample_swr_opts);
#if FF_API_LAVR_OPTS
av_freep(&(*graph)->resample_lavr_opts);
#endif
av_freep(&(*graph)->filters); av_freep(&(*graph)->filters);
av_freep(&(*graph)->internal); av_freep(&(*graph)->internal);
av_freep(graph); av_freep(graph);

View File

@ -50,9 +50,6 @@
* the public API and may change, break or disappear at any time. * the public API and may change, break or disappear at any time.
*/ */
#ifndef FF_API_LAVR_OPTS
#define FF_API_LAVR_OPTS (LIBAVFILTER_VERSION_MAJOR < 8)
#endif
#ifndef FF_API_FILTER_GET_SET #ifndef FF_API_FILTER_GET_SET
#define FF_API_FILTER_GET_SET (LIBAVFILTER_VERSION_MAJOR < 8) #define FF_API_FILTER_GET_SET (LIBAVFILTER_VERSION_MAJOR < 8)
#endif #endif