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>
This commit is contained in:
James Almer
2018-03-19 12:39:08 -03:00
parent 28aaed7737
commit f14ca60001
4 changed files with 39 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2017-10-21
API changes, most recent first:
2018-03-21 - xxxxxxx - lavc 58.15.100 - avcodec.h
Add av_packet_make_writable().
2018-03-18 - xxxxxxx - lavu 56.11.100 - frame.h
Add AV_FRAME_DATA_QP_TABLE_PROPERTIES and AV_FRAME_DATA_QP_TABLE_DATA.