avcodec/avpacket: deprecate av_copy_packet_side_data()
authorJames Almer <jamrial@gmail.com>
Mon, 25 Sep 2017 20:17:12 +0000 (17:17 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 1 Oct 2017 22:19:22 +0000 (19:19 -0300)
commitcf3d2d52b59ddfc2a7c65a8e66f7698c4b837e51
treed21e30b0deef824909fa2230c12905d2ff1eddae
parentfd5f4ac0813c27c34c387f00044905a859e29e37
avcodec/avpacket: deprecate av_copy_packet_side_data()

It leaks memory and destroys the dst packet in case of failure, and it
ultimately duplicates functionality already existing in the saner
av_packet_copy_props().

Reviewed-by: wm4
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/avcodec.h