ts_to_samples    1705 libavformat/utils.c             int64_t sample = ts_to_samples(st, pts);
ts_to_samples    1706 libavformat/utils.c             int duration = ts_to_samples(st, pkt->duration);