#include "codec.h"
#include "rt.h"
+#include "streamer_config.h"
+
+#ifdef CONFIG_STREAMER_WITH_FRSH
+#include <frsh.h>
+#endif
+
static const char *sdp_file = "sdp.txt";
static const char *vdev = "/dev/video0";
static const char *dst = "127.0.0.1";
int main(int argc, char *argv[])
{
AVFormatContext *s, *os;
- int done;
+ int done, ret;
+
+#ifdef CONFIG_STREAMER_WITH_FRSH
+ ret = frsh_init();
+ if (ret) PERROR_AND_EXIT(ret, "frsh_init1");
+#endif /*CONFIG_STREAMER_WITH_FRSH*/
avcodec_register_all();
av_register_all();