[Libav-user] Help with deprecated functions/members
salsaman at gmail.com
Thu Aug 16 19:26:12 CEST 2012
Thanks for the response.
I am using various versions of the libs, for example:
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 0 / 53. 21. 0
which compiles with the unchanged code. Looking at the latest versions of
the decoders in the libs, it seems like palctrl has been moved into other
structs, and that avcodec_init() and the other members have simply been
removed. I don't know which versions of the libs have the problems, as the
issue was reported by the LiVES packager for Fedora 18 and I am awaiting
further info from him, but it would be whatever is included with ffmpeg
As I stated, I would like to know in which versions of the libs these
changes were made if you have that information, so as I can #ifdef around
them. Presumably there are other projects which need to do the same thing.
And also if my changes are correct (removing avcodec_init() and no longer
freeing avstream->curpkt seem particularly strange for example). None of
this should require knowledge of the lib versions which I am using, just an
awareness that some things have changed between an older version and the
main developer, LiVES.
On Thu, Aug 16, 2012 at 12:45 PM, NITIN GOYAL <nitinkumgoyal at gmail.com>wrote:
> please mention the libav version you are currently using then only people
> will be able to tell you the differences.
> Also, please check the source code from GITHUB and compare the differences
> from the previous version to check out.
> On Thu, Aug 16, 2012 at 7:22 PM, salsaman <salsaman at gmail.com> wrote:
>> error: 'AVCodecContext' has no member named 'palctrl'
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user