Move AVPacket declaration from avformat.h to avcodec.h.
[libav.git] / doc / APIchanges
CommitLineData
06d19718
RD
1Never assume the API of libav* to be stable unless at least 1 week has passed since
2the last major version increase.
3The last version increases were:
4libavcodec: ?
5libavdevice: ?
6libavfilter: ?
7libavformat: ?
8libpostproc: ?
9libswscale: ?
10libavutil: 2009-03-08
11
12
13API changes, most recent first:
14
c8f742ca
DB
152009-03-21 - r18116 - lavu 50.2.0 - av_random*
16 The Mersenne Twister PRNG implemented through the av_random* functions
17 was removed. Use the lagged Fibonacci PRNG through the av_lfg* functions
18 instead.
19
20
889cdae8
DB
212009-03-08 - r17869 - lavu 50.0.0 - AVFifoBuffer
22 av_fifo_init, av_fifo_read, av_fifo_write and av_fifo_realloc were dropped
23 and replaced by av_fifo_alloc, av_fifo_generic_read, av_fifo_generic_write
24 and av_fifo_realloc2.
25 In addition, the order of the function arguments of av_fifo_generic_read
26 were changed to match av_fifo_generic_write.
27 The AVFifoBuffer/struct AVFifoBuffer may only be used in an opaque way by
28 applications, they may not use sizeof() or directly access members.
22d4f236 29
889cdae8
DB
302009-03-01 - r17682 - lavf 52.31.0 - Generic metadata API
31 Introduce a new metadata API (see av_metadata_get() and friends).
32 The old API is now deprecated and should not be used anymore. This especially
429d6b21 33 includes the following structure fields:
38ce707e
AJ
34 - AVFormatContext.title
35 - AVFormatContext.author
36 - AVFormatContext.copyright
37 - AVFormatContext.comment
38 - AVFormatContext.album
39 - AVFormatContext.year
40 - AVFormatContext.track
41 - AVFormatContext.genre
42 - AVStream.language
43 - AVStream.filename
44 - AVProgram.provider_name
45 - AVProgram.name
46 - AVChapter.title