Revision 02577fee

View differences:

src/Chunkiser/output-stream-avf.c
225 225
                       &frame_size, &pts, &dts);
226 226
    //dprintf("Frame %d PTS1: %d\n", i, pts);
227 227
    av_init_packet(&pkt);
228
    pkt.stream_index = (data[0] > 128) && ((o->streams & 0x01 == 0x01));
228
    pkt.stream_index = (data[0] > 128) && (((o->streams & 0x01) == 0x01));
229 229
    if (pts != -1) {
230 230
      pts += (pts < o->prev_pts - ((1LL << 31) - 1)) ? ((o->prev_pts >> 32) + 1) << 32 : (o->prev_pts >> 32) << 32;
231 231
      //dprintf(" PTS2: %d\n", pts);

Also available in: Unified diff