Revert part of r16593.
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 5 Feb 2009 18:51:29 +0000 (18:51 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 5 Feb 2009 18:51:29 +0000 (18:51 +0000)
network.h should only be included when CONFIG_NETWORK is set.

Originally committed as revision 17009 to svn://svn.ffmpeg.org/ffmpeg/trunk

cmdutils.c

index b28c00d8fa6b89522f4f3f299cff3726ab2fa7b1..d5fb6cff7bb9f346ce2c7fdb0212dd67a5fd115a 100644 (file)
@@ -38,7 +38,9 @@
 #include "libavcodec/opt.h"
 #include "cmdutils.h"
 #include "version.h"
+#if CONFIG_NETWORK
 #include "libavformat/network.h"
+#endif
 
 #undef exit