History

avpacket: Deprecate av_dup_packet

As documented, `av_dup_packet` is broken by design, `av_packet_ref` matches the AVFrame ref-counted API and can be safely used instead.

Luca Barbato committed 11 years ago

Commit 9b56d5c1 parent d5845335 files · +18 −16Browse files

Showing the changes to doc/APIchanges (1 of 5 files). Show all

Unified · Split

doc/APIchanges+5−3
@@ -13,9 +13,11 @@ libavutil: 2015-08-28 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162015-xx-xx - xxxxxxx - lavc 57.7.0 - avcodec.h162015-xx-xx - lavc 57.7.0 - avcodec.h
17 Deprecate av_free_packet(). Use av_packet_unref() as replacement,17 xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
18 it resets the packet in a more consistent way.18 it resets the packet in a more consistent way.
19 xxxxxx - Deprecate av_dup_packet(), it is a no-op for most cases.
20 Use av_packet_ref() to make a non-refcounted AVPacket refcounted.
19 21
202015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h222015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h
21 Add data and linesize array to AVSubtitleRect, to be used instead of23 Add data and linesize array to AVSubtitleRect, to be used instead of

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t