avcodec/avpacket: add av_packet_make_writable()
authorJames Almer <jamrial@gmail.com>
Mon, 19 Mar 2018 15:39:08 +0000 (12:39 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 22 Mar 2018 01:17:40 +0000 (22:17 -0300)
commitf14ca600015d234f383e9ea5ba5c9f9830271cb3
tree3a975ea16cbe70b340afca7d932e31ba286634ac
parent28aaed773712d170e13f35658aac685dd8b7db44
avcodec/avpacket: add av_packet_make_writable()

Useful as well to quickly make a packet reference counted when it
isn't already so.

Signed-off-by: James Almer <jamrial@gmail.com>
doc/APIchanges
libavcodec/avcodec.h
libavcodec/avpacket.c
libavcodec/version.h