History

avpacket: Replace av_free_packet with av_packet_unref

`av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.

Luca Barbato committed 11 years ago

Commit ce70f281 parent a5d420480 files · +174 −158Browse files

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

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2015-08-28 · 12 unmodified lines
1313
1414 API changes, most recent first:
1515
16+2015-xx-xx - xxxxxxx - lavc 57.7.0 - avcodec.h
17+ Deprecate av_free_packet(). Use av_packet_unref() as replacement,
18+ it resets the packet in a more consistent way.
19+
1620 2015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h
1721 Add data and linesize array to AVSubtitleRect, to be used instead of
1822 the ones from the embedded AVPicture.

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