Include headers for optional libraries only when enabled.
authorDiego Pettenò <flameeyes@gmail.com>
Wed, 22 Oct 2008 10:36:34 +0000 (10:36 +0000)
committerDiego Pettenò <flameeyes@gmail.com>
Wed, 22 Oct 2008 10:36:34 +0000 (10:36 +0000)
commit2cd39dbf16579e6381dcb3ac962523727fe5cf4a
tree2880678b087a0b7268e3e8316c355fa6a39d2ba3
parente3cc7d6fef3afe9e7ed5bd17332db086ff79270b
Include headers for optional libraries only when enabled.

Include the headers for libavfilter, libswscale and libpostproc when
they are enabled (and thus linked in).

Without this change, Sun Studio will fail to link FFmpeg since two
inline functions defined in avfilter.h will have undefined references
to non-inline libavfilter functions.

Originally committed as revision 15665 to svn://svn.ffmpeg.org/ffmpeg/trunk
cmdutils.c