Revision eafb17d1 libavformat/rtpdec.c

View differences:

libavformat/rtpdec.c
382 382
        addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
383 383
        pkt->pts = addend + delta_timestamp;
384 384
    }
385
    pkt->stream_index = s->st->index;
386 385
}
387 386

  
388 387
/**
......
536 535
            memcpy(pkt->data, buf, len);
537 536
            break;
538 537
        }
538

  
539
        pkt->stream_index = st->index;
539 540
    }
540 541

  
541 542
    // now perform timestamp things....

Also available in: Unified diff