record a stream (for example from getstream)
[record-dvb] / mcast.c
1 #include <strings.h>
2 #include <string.h>
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include "mcast.h"
6
7 int is_mcast(char *url)
8 {
9 if (strlen(url) < 7)
10 return 0;
11
12 if (!strncasecmp("udp://",url,6))
13 return 1;
14
15 return 0;
16 }
17
18 int open_mcast(char *url)
19 {
20 fprintf(stderr,"multicast currently unimplemented!\n");
21
22 exit(EXIT_FAILURE);
23 }
Impressum, Datenschutz