Skip to content
  • U. Artie Eoff's avatar
    libav: use LIBAV_CPPFLAGS for -I include paths · 7a951369
    U. Artie Eoff authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    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
    7a951369