[FFmpeg-devel] FFmpeg include file policy
Janne Grunau
janne-ffmpeg
Mon Nov 23 15:38:34 CET 2009
On Sun, Nov 22, 2009 at 09:20:42PM +0100, usleepless at gmail.com wrote:
> so not system library or external library #includes ). Example:
>
> libavformat/flvdec.c:
>
> * You should have received a copy of the GNU Lesser General Public
> * License along with FFmpeg; if not, write to the Free Software
> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
> USA
> */
>
> #include "libavcodec/mpeg4audio.h"
> #include "avformat.h"
> #include "flv.h"
>
> So because MythTV uses qmake, which tosses /usr/local/include into the
> include-dirs, mpeg4audio.h will be fetched from /usr/local/include. It will
> be found there because if have ffmpeg also installed from ports.
That shouldn't be the case since -I../ should occur first and the
correct file from source tree should be included.
Please continue discussing this on mythtv-dev, it's offtopic here.
Janne
More information about the ffmpeg-devel
mailing list