History

avpacket: Provide an alloc and a free function for the struct

Pave the way for having the size of the AVPacket struct not part of the ABI.

Luca Barbato committed 11 years ago

Commit a9a60101 parent 9b56d5c3 files · +70 −0Browse files

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

Unified · Split

doc/APIchanges+3−0
@@ -12,12 +12,15 @@ libavutil: 2015-08-28 · 11 unmodified lines
12 12
13 13
14API changes, most recent first:14API changes, most recent first:
152015-xx-xx - xxxxxxx - lavc 57.6.0 - avcodec.h
15 16
162015-xx-xx - lavc 57.7.0 - avcodec.h172015-xx-xx - lavc 57.7.0 - avcodec.h
17 xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement,18 xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
18 it resets the packet in a more consistent way.19 it resets the packet in a more consistent way.
19 xxxxxx - Deprecate av_dup_packet(), it is a no-op for most cases.20 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.21 Use av_packet_ref() to make a non-refcounted AVPacket refcounted.
22 xxxxxx - Add av_packet_alloc(), av_packet_clone(), av_packet_free().
23 They match the AVFrame functions with the same name.
21 24
222015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h252015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h
23 Add data and linesize array to AVSubtitleRect, to be used instead of26 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