[Libav-user] API changes v2.8.x ==> 3.0.x

Axel Holzinger aholzinger at gmx.de
Sat Jun 18 14:42:13 CEST 2016


Carl Eugen Hoyos <cehoyos at ...> writes:
> 
> Axel Holzinger <aholzinger at ...> writes:
> 
> > I'm trying to figure out how to port code using the v2.8.x
> > API to support the new v3.0.x API, but I'm a bit lost.
> 
> How does the code look like that stopped working?
> (Or compiling?)

The following struct members are no more existing:
AVPacket.destruct
AVCodecContext. get_buffer
AVCodecContext. release_buffer

The following functions are no more existing:
avcodec_default_get_buffer
avcodec_default_release_buffer
avcodec_get_frame_defaults
avcodec_alloc_frame
avpicture_deinterlace

> Note that (major) parts of the 3.0 API are deprecated.

But isn't the 3.0 API the newest one?

Thank you
Axel

> Carl Eugen




More information about the Libav-user mailing list