Revision c45cea07

View differences:

loop-mt.c
160 160
  s = s1;
161 161
 
162 162
  sigInit(s);
163
  chunkSignalingInit(s);
163 164
  stream_init(buff_size, s);
164 165
  pthread_mutex_init(&cb_mutex, NULL);
165 166
  pthread_mutex_init(&topology_mutex, NULL);
......
181 182
  s = s1;
182 183
 
183 184
  sigInit(s);
185
  chunkSignalingInit(s);
184 186
  if (source_init(fname, s, loop) < 0) {
185 187
    fprintf(stderr,"Cannot initialize source, exiting");
186 188
    return;
loop.c
52 52
  period.tv_usec = csize % 1000000;
53 53
  
54 54
  sigInit(s);
55
  chunkSignalingInit(s);
55 56
  peers_init();
56 57
  stream_init(buff_size, s);
57 58
  update_peers(NULL, NULL, 0);
......
109 110
  period.tv_usec = csize % 1000000;
110 111
  
111 112
  sigInit(s);
113
  chunkSignalingInit(s);
112 114
  peers_init();
113 115
  if (source_init(fname, s, loop) < 0) {
114 116
    fprintf(stderr,"Cannot initialize source, exiting");

Also available in: Unified diff