Revision 6e491755 src/Chunkiser/input-stream-avf.c

View differences:

src/Chunkiser/input-stream-avf.c
320 320
      exit(-1);
321 321
  }
322 322
  data[header_size - 1] = 1;
323
  frame_header_fill(data + header_size, *size - header_size - FRAME_HEADER_SIZE, &pkt, s->s->streams[pkt.stream_index], new_tb, s->base_ts);
323
  frame_header_fill(data + header_size, pkt.size, &pkt, s->s->streams[pkt.stream_index], new_tb, s->base_ts);
324 324

  
325 325
  memcpy(data + header_size + FRAME_HEADER_SIZE, pkt.data, pkt.size);
326 326
  *ts = av_rescale_q(pkt.dts, s->s->streams[pkt.stream_index]->time_base, AV_TIME_BASE_Q);

Also available in: Unified diff