<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Sep 28, 2013 at 3:51 PM, satya gowtham kudupudi <span dir="ltr"><<a href="mailto:satyagowtham.k@gmail.com" target="_blank">satyagowtham.k@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 dir="ltr">On ubuntu i've installed ffmpeg as per <a href="http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide" target="_blank">http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide</a> I'm trying to compile <a href="http://www.ffmpeg.org/doxygen/2.0/doc_2examples_2decoding_encoding_8c-example.html" target="_blank">http://www.ffmpeg.org/doxygen/2.0/doc_2examples_2decoding_encoding_8c-example.html</a>;<div>

changed <font face="courier new, monospace" color="#666666" style="background-color:rgb(238,238,238)"><span style="font-size:13px;line-height:13px;white-space:pre-wrap">int</span><span style="font-size:13px;line-height:13px;white-space:pre-wrap"> </span><a name="141638d31af0872d_a99" style="font-size:13px;line-height:13px;white-space:pre-wrap"></a><a href="http://www.ffmpeg.org/doxygen/2.0/main_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" style="text-decoration:none;font-size:13px;line-height:13px;white-space:pre-wrap" target="_blank">main</a><span style="font-size:13px;line-height:13px;white-space:pre-wrap">(</span><span style="font-size:13px;line-height:13px;white-space:pre-wrap">int</span><span style="font-size:13px;line-height:13px;white-space:pre-wrap"> argc, </span><span style="font-size:13px;line-height:13px;white-space:pre-wrap">char</span><span style="font-size:13px;line-height:13px;white-space:pre-wrap"> **argv)</span></font> to <font face="courier new, monospace" color="#666666" style="background-color:rgb(238,238,238)">int libavcodec_example(int argc, char **argv);</font></div>

<div>included it in my application; called  <span style="color:rgb(102,102,102);font-family:'courier new',monospace;background-color:rgb(238,238,238)">libavcodec_example(int argc, char **argv)</span><div><div><br>

</div><div><div><font color="#666666" style="background-color:rgb(238,238,238)" face="courier new, monospace">g++ -D__STDC_CONSTANT_MACROS    -o dist/Debug/GNU-Linux-x86/remotedevicecontroller build/Debug/GNU-Linux-x86/libavcodec-example.o build/Debug/GNU-Linux-x86/main.o build/Debug/GNU-Linux-x86/test-echo.o /usr/local/ffmpeg_build/lib/libavdevice.a /usr/local/ffmpeg_build/lib/libavfilter.a /usr/local/ffmpeg_build/lib/libavcodec.a /usr/local/ffmpeg_build/lib/libavutil.a /usr/local/ffmpeg_build/lib/libswscale.a /usr/local/ffmpeg_build/lib/libavformat.a -lxml2 -lpthread -lssl -lcrypto -lwebsockets</font></div>

</div><div><br></div></div></div></div></blockquote><div><br></div><div><br></div><div>Please change your link order to :</div><div><br></div><div>libavformat.a libavcodec.a xxxx libavutils.a .....</div><div><br></div></div>
-- <br>-----------------------------------------------------------------------------------------<br>My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2
</div></div>