# HG changeset patch # User cehoyos # Date 1318613331 0 # Node ID 1facab976a686ec232f90a257c0a19d7c839d60b # Parent 6dc5c4821d071be46f41abc2c84323e44f5b2b2a Do not compile FFmpeg's avfilters if they are not needed. As a sideeffect, this fixes compilation on systems without strtok_r. diff -r 6dc5c4821d07 -r 1facab976a68 configure --- a/configure Fri Oct 14 12:55:09 2011 +0000 +++ b/configure Fri Oct 14 17:28:51 2011 +0000 @@ -6777,7 +6777,7 @@ def_ffmpeg_so='#undef CONFIG_FFMPEG_SO' nocodecmodules="ffmpeg $nocodecmodules" fi -test "$_vf_lavfi" = yes && def_vf_lavfi='#define CONFIG_VF_LAVFI 1' +test "$_vf_lavfi" = yes && def_vf_lavfi='#define CONFIG_VF_LAVFI 1'|| libavfilters='' test "$_libavcodec_mpegaudio_hp" = yes && def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1' && mak_libavcodec_mpegaudio_hp='CONFIG_MPEGAUDIO_HP = yes'