It works as a drop in replacement for the deprecated av_dup_packet(), to ensure a packet is reference counted.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -15,6 +15,9 @@ libavutil: 2017-10-21 · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | API changes, most recent first: |
| 17 | 17 | |
| 18 | +2018-04-01 - xxxxxxx - lavc 58.17.100 - avcodec.h | |
| 19 | + Add av_packet_make_refcounted(). | |
| 20 | + | |
| 18 | 21 | 2018-xx-xx - xxxxxxx - lavfi 7.14.100 - avfilter.h |
| 19 | 22 | Deprecate use of avfilter_register(), avfilter_register_all(), |
| 20 | 23 | avfilter_next(). Add av_filter_iterate(). |