Revision 54f6182b

View differences:

src/Chunkiser/input-stream.c
46 46
    if (type && !strcmp(type, "udp")) {
47 47
      res->in = &in_udp;
48 48
    }
49
    if (type && !strcmp(type, "avf")) {
50
#ifdef AVF
51
      res->in = &in_avf;
52
#else
53
      free(res);
54
      free(cfg_tags);
55

  
56
      return NULL;
57
#endif
58
    }
49 59
  }
50 60
  free(cfg_tags);
51 61

  
src/Chunkiser/output-stream.c
40 40
      res->out = &out_raw;
41 41
    } else if (type && !strcmp(type, "udp")) {
42 42
      res->out = &out_udp;
43
    } else if (type && !strcmp(type, "avf")) {
44
#ifdef AVF
45
      res->out = &out_avf;
46
#else
47
      free(res);
48
      free(cfg_tags);
49

  
50
      return NULL;
51
#endif
43 52
    }
44 53
  }
45 54
  free(cfg_tags);

Also available in: Unified diff