[FFmpeg-devel] why are audio/video encoding/decoding functions marked as attribute_deprecated?

qw applemax82 at 163.com
Tue Jul 26 13:57:01 EEST 2016


Hi,

avcodec_decode_video2(), avcodec_decode_audio4(), avcodec_encode_video2(), and avcodec_encode_audio2(). The following url links are ffmpeg 3.1.1 description:

http://ffmpeg.org/doxygen/3.1/group__lavc__decoding.html#ga3ac51525b7ad8bca4ced9f3446e96532
http://ffmpeg.org/doxygen/3.1/group__lavc__decoding.html#gaaa1fbe477c04455cdc7a994090100db4
http://ffmpeg.org/doxygen/3.1/group__lavc__encoding.html#ga2c08a4729f72f9bdac41b5533c4f2642
http://ffmpeg.org/doxygen/3.1/group__lavc__encoding.html#gae4b5ba4d50b1264a5cf5408ff32fb622

Why are the four functions marked as attribute_deprecated?

The four encoding/decoding functions are still used in ffmpeg.c and transcoding.c.

Thanks!

Regards

Andrew


 


More information about the ffmpeg-devel mailing list