diff options
author | James Almer <jamrial@gmail.com> | 2021-02-25 17:30:28 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-02-27 11:23:42 -0300 |
commit | dd9227e48f360c0f498af0786ce9544c61996843 (patch) | |
tree | 49335a68dadbd4d9455bfec0d9bf224a9dcd53f9 /libavcodec/avcodec.h | |
parent | 0c902a61471a2f45e1c7159bd77146d2b499abb3 (diff) |
avcodec/options: deprecate avcodec_get_frame_class()
AVFrame hasn't been a struct defined in libavcodec for a decade now, when
it was moved to libavutil.
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3178c163b9..cd6e6d19bc 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2770,13 +2770,13 @@ int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec); */ const AVClass *avcodec_get_class(void); +#if FF_API_GET_FRAME_CLASS /** - * Get the AVClass for AVFrame. It can be used in combination with - * AV_OPT_SEARCH_FAKE_OBJ for examining options. - * - * @see av_opt_find(). + * @deprecated This function should not be used. */ +attribute_deprecated const AVClass *avcodec_get_frame_class(void); +#endif /** * Get the AVClass for AVSubtitleRect. It can be used in combination with |