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 0.11.1 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 current version. Regards, Salsaman, main developer, LiVES. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman On Thu, Aug 16, 2012 at 12:45 PM, NITIN GOYAL <[email protected]>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. > > Regards > Nitin > > > On Thu, Aug 16, 2012 at 7:22 PM, salsaman <[email protected]> wrote: > >> error: 'AVCodecContext' has no member named 'palctrl' >> > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
