This is an easy way to make a refcounted frame from a non-refcounted one.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -14,6 +14,11 @@ libavutil: 2021-04-27 · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2022-08-xx - xxxxxxxxxx - lavu 57.31.100 - frame.h | |
| 18 | + av_frame_make_writable() may now be called on non-refcounted | |
| 19 | + frames and will make a refcounted copy out of them. | |
| 20 | + Previously an error was returned in such cases. | |
| 21 | + | |
| 17 | 22 | 2022-07-xx - xxxxxxxxx - lavc 59.40.100 - avcodec.h |
| 18 | 23 | Add the AV_CODEC_FLAG2_ICC_PROFILES flag to AVCodecContext, to enable |
| 19 | 24 | automatic reading and writing of embedded ICC profiles in image files. |