This makes these functions appear in the AVCodecParameters documentation page, so they are easier to find. --- libavcodec/avcodec.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a004cccd2d..a1d82cb9a9 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2139,6 +2139,8 @@ const AVClass *avcodec_get_subtitle_rect_class(void); * of the corresponding fields in codec. * * @return >= 0 on success, a negative AVERROR code on failure + * + * @relates AVCodecParameters */ int avcodec_parameters_from_context(struct AVCodecParameters *par, const AVCodecContext *codec); @@ -2150,6 +2152,8 @@ int avcodec_parameters_from_context(struct AVCodecParameters *par, * Fields in codec that do not have a counterpart in par are not touched. * * @return >= 0 on success, a negative AVERROR code on failure. + * + * @relates AVCodecParameters */ int avcodec_parameters_to_context(AVCodecContext *codec, const struct AVCodecParameters *par); -- 2.39.5 (Apple Git-154) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".