lavu/frame: allow calling av_frame_make_writable() on non-refcounted frames

This is an easy way to make a refcounted frame from a non-refcounted
one.
This commit is contained in:
Anton Khirnov
2022-07-16 17:48:11 +02:00
parent d9cd192ddd
commit eede1d2927
4 changed files with 8 additions and 5 deletions
+5
View File
@@ -14,6 +14,11 @@ libavutil: 2021-04-27
API changes, most recent first:
2022-08-xx - xxxxxxxxxx - lavu 57.31.100 - frame.h
av_frame_make_writable() may now be called on non-refcounted
frames and will make a refcounted copy out of them.
Previously an error was returned in such cases.
2022-07-xx - xxxxxxxxx - lavc 59.40.100 - avcodec.h
Add the AV_CODEC_FLAG2_ICC_PROFILES flag to AVCodecContext, to enable
automatic reading and writing of embedded ICC profiles in image files.