]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Revert "CONFIG_FRSH_PROTOCOL is already defined by configure generated headers"
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 20:19:52 +0000 (21:19 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 20:19:52 +0000 (21:19 +0100)
This reverts commit f5138f4f6306ec8e90b7939a954b36998896649c.

libavformat/allformats.c

index da5e5eba0e974effc44d010b66521829d03f2eb0..17dc7fcf4e8988d86618b960118a39d62d137a5c 100644 (file)
 #include "rtp.h"
 #include "rdt.h"
 
+#ifdef OMK_FOR_USER
+# include "libavformat_config.h"
+# ifdef CONFIG_FFMPEG_WITH_FRSH
+#  define CONFIG_FRSH_PROTOCOL 1
+# else
+#  define CONFIG_FRSH_PROTOCOL 0
+# endif
+#endif
+
+#ifndef CONFIG_FRSH_PROTOCOL
+#define CONFIG_FRSH_PROTOCOL 0
+#endif
+
+
 #define REGISTER_MUXER(X,x) { \
     extern AVOutputFormat x##_muxer; \
     if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }