lavfi/buffersink: clearly document that the Params struct are unused.

This commit is contained in:
Nicolas George 2020-08-14 10:56:50 +02:00
parent 3b7036bc1d
commit 1f12b7b1d3
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ int av_buffersink_get_frame_flags(AVFilterContext *ctx, AVFrame *frame, int flag
#if FF_API_NEXT #if FF_API_NEXT
/** /**
* Struct to use for initializing a buffersink context. * Deprecated and unused struct to use for initializing a buffersink context.
*/ */
typedef struct AVBufferSinkParams { typedef struct AVBufferSinkParams {
const enum AVPixelFormat *pixel_fmts; ///< list of allowed pixel formats, terminated by AV_PIX_FMT_NONE const enum AVPixelFormat *pixel_fmts; ///< list of allowed pixel formats, terminated by AV_PIX_FMT_NONE
@ -76,7 +76,7 @@ attribute_deprecated
AVBufferSinkParams *av_buffersink_params_alloc(void); AVBufferSinkParams *av_buffersink_params_alloc(void);
/** /**
* Struct to use for initializing an abuffersink context. * Deprecated and unused struct to use for initializing an abuffersink context.
*/ */
typedef struct AVABufferSinkParams { typedef struct AVABufferSinkParams {
const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE const enum AVSampleFormat *sample_fmts; ///< list of allowed sample formats, terminated by AV_SAMPLE_FMT_NONE