<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>>That's an example program written in C. There's nothing in the actual 
codebase (as opposed to the >examples) that doesn't work in C++.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">Yes, I know it's a program written in C.  As I stated before, I only used that example because everyone here already has a copy of it.  The alternative would be for me to post my lengthy C++ code, which uses lots of thrid-part libraries, which nobody will be able to compile anyway).</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">When I
 compile demuxing.c with g++ it gives me the same errors as when I add libav calls to my C++ app and then try to compile that with g++.  So, if we can figure out why demuxing.c won't compile with g++, then we will probably figure out why my C++ app won't compile with g++.  <br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, October 8, 2013 9:25 PM, Bruce Wheaton <bruce@spearmorgan.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv1918363149"><div><div><div class="yiv1918363149yqt6336215157" id="yiv1918363149yqtfd20819"><div>On Oct 8, 2013, at 11:12 AM, James Board <<a rel="nofollow" shape="rect"
 ymailto="mailto:jpboard2@yahoo.com" target="_blank" href="mailto:jpboard2@yahoo.com">jpboard2@yahoo.com</a>> wrote:</div><blockquote type="cite"><div><div style="background-color:rgb(255, 255, 255);font-family:'times new roman', 'new york', times, serif;font-size:12pt;"><div style=""><br clear="none"></div><div style="">I tried exactly that with the demuxing.c example.  When I try to compile</div>
<div style="background-color:transparent;font-style:normal;font-family:'times new roman', 'new york', times, serif;font-size:16px;">it with the C++ compiler, I get errors.  When I compile with the C compiler,</div>
<div style="background-color:transparent;font-style:normal;font-family:'times new roman', 'new york', times, serif;font-size:16px;">no errors.  What do I need to do to get demuxing.c to compile with the C++</div>
<div style="background-color:transparent;font-style:normal;font-family:'times new roman', 'new york', times, serif;font-size:16px;">compiler in Linux?</div>
<div style="background-color:transparent;font-style:normal;font-family:'times new roman', 'new york', times, serif;font-size:16px;"><var id="yiv1918363149yui-ie-cursor"></var> </div></div></div></blockquote></div><br clear="none"></div><div>That's an example program written in C. There's nothing in the actual codebase (as opposed to the examples) that doesn't work in C++.</div><div><br clear="none"></div><div>Compile a C example as C. </div><div><br clear="none"></div><div>Bruce</div><div class="yiv1918363149yqt6336215157" id="yiv1918363149yqtfd73409"><br clear="none"></div></div></div><br>_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user"
 target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><div class="yqt6336215157" id="yqtfd13070"><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>