<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">El 13/02/16 a las 16:58, satya gowtham
kudupudi escribió:<br>
</div>
<blockquote
cite="mid:CADY_UEffNgT0=5+h0NOTLV-pjrhU+C2kTfGb1SfV1nxyFJFfHQ@mail.gmail.com"
type="cite">
<div dir="ltr">After a long time I've decided to rebuild my
application. So I've compiled latest ffmpeg and installed. But
now when I try to rebuild my application against latest ffmpeg,
I got the following build errors.
<div><br>
</div>
<div>
<div><font face="monospace, monospace" color="#666666">libavcodec_util.cpp:156:33:
error: ‘avcodec_alloc_frame’ was not declared in this
scope</font></div>
<div><font face="monospace, monospace" color="#666666">
frame = avcodec_alloc_frame();</font></div>
</div>
</div>
</blockquote>
av_frame_alloc()<br>
<br>
<blockquote
cite="mid:CADY_UEffNgT0=5+h0NOTLV-pjrhU+C2kTfGb1SfV1nxyFJFfHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><font face="monospace, monospace" color="#666666">
^</font></div>
<div><font face="monospace, monospace" color="#666666">libavcodec_util.cpp:219:13:
warning: ‘void av_free_packet(AVPacket*)’ is deprecated
(declared at /usr/local/include/libavcodec/avcodec.h:4040)
[-Wdeprecated-declarations]</font></div>
<div><font face="monospace, monospace" color="#666666">
av_free_packet(&pkt);</font></div>
<div><font face="monospace, monospace" color="#666666">
^</font></div>
</div>
</div>
</blockquote>
<font color="#666666"><font face="monospace, monospace">av_packet_unref(&pkt);</font></font>
<blockquote
cite="mid:CADY_UEffNgT0=5+h0NOTLV-pjrhU+C2kTfGb1SfV1nxyFJFfHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><font face="monospace, monospace" color="#666666">
^</font></div>
<div><font face="monospace, monospace" color="#666666">libavcodec_util.cpp:238:30:
error: ‘avcodec_free_frame’ was not declared in this scope</font></div>
<div><font face="monospace, monospace" color="#666666">
avcodec_free_frame(&frame);</font></div>
</div>
</div>
</blockquote>
<font color="#666666"><font face="monospace, monospace">av_frame_free(&frame);<br>
<br>
</font></font>
<blockquote
cite="mid:CADY_UEffNgT0=5+h0NOTLV-pjrhU+C2kTfGb1SfV1nxyFJFfHQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><font face="monospace, monospace" color="#666666">
^</font></div>
<div><font face="monospace, monospace" color="#666666">
^</font></div>
<div><font face="monospace, monospace" color="#666666">libavcodec_util.cpp:293:53:
error: ‘avcodec_get_frame_defaults’ was not declared in
this scope</font></div>
<div><font face="monospace, monospace" color="#666666">
avcodec_get_frame_defaults(decoded_frame);</font></div>
<div><font face="monospace, monospace" color="#666666">
</font><br>
</div>
</div>
</div>
</blockquote>
<font color="#666666"><font face="monospace, monospace">Not sure,
you'll need to check some old .h files for the deprecation
warning.</font></font><br>
<br>
<pre class="moz-signature" cols="72">--
Gonzalo Garramuño
<a class="moz-txt-link-abbreviated" href="mailto:ggarra13@gmail.com">ggarra13@gmail.com</a>
</pre>
</body>
</html>