[FFmpeg-devel] [PATCH] avcodec/avcodec: Don't use deprecated function in sample code
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Sat Mar 6 11:11:10 EET 2021
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
Will push this soon.
libavcodec/avcodec.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 309d9965be..8c1aee3db3 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2843,7 +2843,6 @@ int avcodec_parameters_to_context(AVCodecContext *codec,
* @ref avcodec_receive_frame()).
*
* @code
- * avcodec_register_all();
* av_dict_set(&opts, "b", "2.5M", 0);
* codec = avcodec_find_decoder(AV_CODEC_ID_H264);
* if (!codec)
--
2.27.0
More information about the ffmpeg-devel
mailing list