OK, so I got a reply back from the Fedora packager, the versions which require updated code are:<br><br> libavutil      51. 54.100 / 51. 54.100<br>libavcodec     54. 23.100 / 54. 23.100<br>libavformat    54.  6.100 / 54.  6.100<br>

<br>so the changes must have occurred between the versions I gave earlier, and the above versions.<br><br>Also, since posting the original message I have been contacted by the main developer of veejay (<a href="http://www.veejayhq.net">http://www.veejayhq.net</a>), Niels Elburg, who tells me has exactly the same issues. So as I guessed, several projects are impacted by this.<br>

<br>And I am mystifed as to what kind of design decisions went into this. For example, why remove avcodec_init() ? Since it returns nothing, if it is no longer needed, why not just remove the code from it and leave the empty function, and return a compiler deprecated warning ? That would be standard practice in most libraries as it retains backwards compatibility with existing code. Obviously someone had good reason to remove it completely but it is not apparent what the reasoning was. I am trying to understand this to help avoid similar problems in the future.<br>

<br><br><br>Thanks in advance for any replies.<br><br>Salsaman.<br>main developer, LiVES.<br><br><a href="http://lives.sourceforge.net">http://lives.sourceforge.net</a><br><a href="https://www.ohloh.net/accounts/salsaman">https://www.ohloh.net/accounts/salsaman</a><br>

<br>
<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 2:26 PM, salsaman <span dir="ltr"><<a href="mailto:salsaman@gmail.com" target="_blank">salsaman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks for the response.<br><br>I am using various versions of the libs, for example:<br><br>libavutil    <a href="tel:51.%2022.%201%20%2F%2051.%2022.%201" value="+15122151221" target="_blank">51. 22. 1 / 51. 22. 1</a><br>

libavcodec   <a href="tel:53.%2035.%200%20%2F%2053.%2035.%200" value="+15335053350" target="_blank">53. 35. 0 / 53. 35. 0</a><br>libavformat  53. 21. 0 / 53. 21. 0<br><br>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<br>


<br><br>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.<br>


<br><br><br><br><br><br><br><br>Regards,<br>Salsaman,<div class="im"><br>main developer, LiVES.<br><br clear="all"><br><a href="http://lives.sourceforge.net" target="_blank">http://lives.sourceforge.net</a><br><a href="https://www.ohloh.net/accounts/salsaman" target="_blank">https://www.ohloh.net/accounts/salsaman</a><br>


<br>
<br><br></div><div class="gmail_quote"><div><div class="h5">On Thu, Aug 16, 2012 at 12:45 PM, NITIN GOYAL <span dir="ltr"><<a href="mailto:nitinkumgoyal@gmail.com" target="_blank">nitinkumgoyal@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
please mention the libav version you are currently using then only people will be able to tell you the differences.<div><br>Also, please check the source code from GITHUB and compare the differences from the previous version to check out.</div>



<div><br></div><div>Regards</div><div><span><font color="#888888">Nitin</font></span><div><br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 7:22 PM, salsaman <span dir="ltr"><<a href="mailto:salsaman@gmail.com" target="_blank">salsaman@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>error: 'AVCodecContext' has no member named 'palctrl'<br></div></blockquote></div><br></div></div>



<br></div></div>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br>
</blockquote></div><br>