]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavformat/allformats.c
Allow building completely independent of FRSH
[frescor/ffmpeg.git] / libavformat / allformats.c
index 626b66cf2e61ed4de1b7c019a7be8b83d87d63f5..d9800ae93d5d69eb63cde88ccaa96f8849590d43 100644 (file)
 #include "rtp.h"
 #include "rdt.h"
 
+#ifdef OMK_FOR_USER
+# include "libavformat_config.h"
+#endif
+
+
 #define REGISTER_MUXER(X,x) { \
     extern AVOutputFormat x##_muxer; \
     if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }
@@ -210,4 +215,7 @@ void av_register_all(void)
     REGISTER_PROTOCOL (RTP, rtp);
     REGISTER_PROTOCOL (TCP, tcp);
     REGISTER_PROTOCOL (UDP, udp);
+#ifdef CONFIG_FFMPEG_WITH_FRSH
+    REGISTER_PROTOCOL (FRSH, frsh);
+#endif
 }