libav: use LIBAV_CPPFLAGS for -I include paths
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 24 Oct 2017 02:35:31 +0000 (19:35 -0700)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 13 Jan 2018 12:18:54 +0000 (12:18 +0000)
commit7a951369c7f7b3c16c4c4555e0df9f5ee693fc38
tree61ebfefc400c97d80c0992ee3a1b288665b6ad9a
parenta323802c5b893f1683c702af30a82598b4ecd80b
libav: use LIBAV_CPPFLAGS for -I include paths

Autotools automatically appends user CPPFLAGS after target
CPPFLAGS.  Also, it puts all CPPFLAGS before CFLAGS in final
generated gcc compile command.  The internal ffmpeg include
paths need to come before any other external include paths
to ensure we don't accidentally pickup external ffmpeg
headers first (i.e. from user CPPFLAGS include paths).  Thus,
move the internal LIBAV include paths to LIBAV_CPPFLAGS so
that they come before any user defined CPPFLAGS.

This allows ffmpeg and gst-ffmpeg to coexist on users system.

https://bugzilla.gnome.org/show_bug.cgi?id=789379
configure.ac
ext/libav/Makefile.am